(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/battclock.h>

ULONG ReadBattClock ()

LOCATION
In BattClockBase at offset 2

SYNOPSIS
/* void */

FUNCTION
Return 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.

INPUTS
RESULT
The number of seconds since 1.1.1978 00:00:00

EXAMPLE

SEE ALSO
WriteBattClock, ResetBattClock

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
29.01.1998 iaint
Added battclock.resource