OASIS Command Referencetime
|
time - Display or set time and date for the OASIS real-time clock
time [hh mm ss YY MM DD]
date [hh mm ss YY MM DD]
The time command displays the current time and date. It may also be used to set the time when called with optional time/date arguments.
Parameter Comments hh2 digit hour (00-23) mm2 digit minute (00-59) ss2 digit second (00-59) YY2 digit year
year = 1900+YY, YY >= 70
year = 2000+YY, YY < 70 MM2 digit month (00-12) DD2 digit day (00-31)
All data will be timestamped with the time according to this clock setting. Typically, it is set to GMT. OASIS calculates its local time using the symbol LOCAL_OFFSET, defined in custom.h. OASIS uses this local time to perform operations that require it, for example, syncing the drivers at midnight local time or masking hours of operation for ARGOS and specprr using the daymask.
Display the current time:
time
Set the time and date to May 28, 2001 6:59:00 pm:
time 18 59 00 01 05 28