CLOCK(M) XENIX System V CLOCK(M)
Name
clock - The system real-time (time of day) clock.
Description
The clock file provides access to the battery-powered,
real-time time of day clock. Reading this file returns the
current time; writing to the file sets the current time.
The time, 10 bytes long, has the following 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. For
example, the time:
0826150385 is 15:03 on August 26, 1985.
Files
/dev/clock
See Also
setclock(M)
Notes
Not all computers have battery-powered real-time time of day
clocks. Refer to your computer's hardware reference manual.
Page 1 (printed 8/7/87)