Set System Date/Time

 

Use this option to change the system date and time. There are three ways to adjust the date and time. The first option changes the date and time based on the current settings, moving them ahead a fixed number of hours, days, etc. The second option sets the clock to a specific time and date. The last option syncs with a time server.

 

 

Note: The Set System Date/Time command will not run in Vista or later due to the security features of these operating systems.

 

 

Script Editor > Expand System Category > Set System Date/Time

 

 

Options

First select the date/time option desired.

 

Adjust current date/time

Adjust Time

Use this option to set the system clock ahead by the number of hours, minutes or seconds specified. Or move it back by inserting a negative value in the field.

 

Adjust Date

Use this option to set the system date ahead by the number of months, days or years specified. Or move it back by inserting a negative value in the field.

 

Set a specific date/time

Set Time

Select a specific time. When the macro is run, the system clock is changed to the time designated.

 

Set Date

Manually enter a date or click on the arrow to display a calendar for picking a date. When the macro is run, the system date changes to the date selected.

 

Sync with a time server

This option synchronizes the system time with a time server (web site). Enter the server address in the field provided. The system time on the computer is updated to match the time of the server.