Incode Systems Home Page Incode Systems, Inc.


SETTIME



(09-04-1993 9:31am SETTIME.EXE)
SETTIME - (C) Copyright Glenn B. Lawler, 1993. All Rights Reserved.

Usage: Seconds[/D][/M:FileName]
Where: Seconds is the number of seconds (-3600 to 3600) to adjust the
system clock. A positive number advances the time, a negative number
sets the clock back.
Fractions of a second allowed (ex: 0.25).

/D indicates that SETTIME should adjust for daylight savings time.
If used, clock is set ahead by 1 hour on 1st Sun in April and back
1 hour on the last Sun in October
/M:FileName is the name of a file where SETTIME will record the last
date time was adjusted. When run, SETTIME will adjust the time by
Seconds for each day since the last time. This feature allows using
SETTIME in AUTOEXEC.BAT for adjustment once each day only.
SETTIME may also be used to control once-a-day execution of other
programs as well; ERRORLEVEL set to 1 when SETTIME already run for the day.