Skip to content

razafinarivohanania/update-date-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Context

I have an old laptop when if it is turned off it doesn't remember date and time anymore. Date becomes 2010/01/01 and time 00:00. Each time i have to naviguate secured website like google, all SSL certicates are invalid. So i need to update date and time manually and this is really tedious.

So, i create a small program we can update it easly.

Requirements

Installation

run command lines :

$ npm install

Running

Juste double click update-date-time.bat. You can even create a short link of this and copy it to desktop.

NB :

  • The program will be run automatically as administrator. Therefore, a windows popup will be shown. It will ask to run the programm as administrator. Juste click Yes.
  • By default, it used 2 hours offset from UTC. If you need to change it. Just modify the following code line which is found in src/extractor.js
const hourShiftTime = 2;

Enjoy it! :)

About

Tools to update date time on Windows OS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published