![]() | |||||
battclock
ReadBattClockSynopsisULONG ReadBattClock(); FunctionReturn the value stored in the battery back up clock. This value is the number of seconds that have elapsed since midnight on the 1st of January 1978 (00:00:00 1.1.1978). If the value of the battery clock is invalid, then the clock will be reset. ResultThe number of seconds since 1.1.1978 00:00:00 See alsoWriteBattClock, ResetBattClock ResetBattClockSynopsisvoid ResetBattClock(); FunctionReset the system battery backed up clock. This will reset the clock back to 0 seconds (or midnight, 1st Jan 1978). InputsNone. ResultThe clock will be reset. NotesThis function may do nothing when the battery backed up clock either doesn't exist, or may not be writable by the operating system. See alsoReadBattClock, WriteBattClock WriteBattClockSynopsis
void WriteBattClock(
ULONG time );
FunctionSet the systems battery backed up clock to the time specified. The value should be the number of seconds since 00:00:00 on 1.1.1978. Inputstime - The number of seconds elapsed since 00:00:00 1.1.1978 ResultThe clock will be set. NotesThis may not do anything on some systems where the battery backed up clock either doesn't exist, or may not be writable. See alsoReadBattClock, ResetBattClock |
Copyright © 1995-2008, The AROS Development Team. All rights reserved. Amiga® is a trademark of Amiga Inc. All other trademarks belong to their respective owners. |