[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    Date2Amiga -- Calculate seconds from 01-Jan-1978.  (V36)

SYNOPSIS
    AmigaTime = Date2Amiga( Date )
    D0                      A0

    ULONG Date2Amiga( struct clockdata * );

FUNCTION
    Calculates the number of seconds from 01-Jan-1978 to the date
    specified in the clockdata structure.

INPUTS
    Date            - pointer to a clockdata structure containing the
                      date of interest.

RESULTS
    AmigaTime       - the number of seconds from 01-Jan-1978 to the
                      date specified in Date.

NOTES
    This function does no sanity checking of the data in Date.

SEE ALSO
    amiga2date(), checkdate()

BUGS