SETCLOCK(ADM) XENIX System V SETCLOCK(ADM)
Name
setclock - Sets the system real-time (time of day) clock.
Syntax
setclock [ time ]
Description
The setclock file sets the battery-powered, real-time time
of day clock to the given time. If time is not given, the
current contents of the battery-powered clock are displayed.
The time must be a combination of digits with the form:
MMddhhmmyy
where MM is the month, dd is the day, hh is the hour, mm is
the minute, and yy is the last two digits of the year. If yy
is not given, it is taken from the current system time. For
example, the command:
082615092
sets the time of day clock to 15:03 on August 26, 1992.
Files
/etc/setclock
See Also
clock(F)
Notes
Not all computers have battery-powered real-time time of day
clocks. Refer to your computer's hardware reference manual.
Page 1 (printed 2/7/91)