the system real-time (time of day) clock
The clock special device file (/dev/clock)
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 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.
The command echo `cat /dev/clock` prints the current
time on the standard output.
0826150392 corresponds to 15:03 on August 26, 1992.
Not all computers have battery-powered real-time time of day
clocks. Refer to your computer's hardware reference manual.
You cannot set the time on the real-time clock if the permissions
of /dev/clock do not allow it.
full pathname of clock
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005