Docs » Autodocs » utility.library » Date2Amiga
Date2Amiga -- calculate seconds from 01-Jan-1978. (V36)
seconds = Date2Amiga(date); D0 A0 ULONG Date2Amiga(struct ClockData *);
Calculates the number of seconds from 01-Jan-1978 to the date specified in the ClockData structure.
date - pointer to a ClockData structure containing the date of interest.
seconds - the number of seconds from 01-Jan-1978 to the date specified.
This function does no sanity checking of the data in the ClockData structure.
Amiga2Date(), CheckDate()
|