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


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

   SYNOPSIS
        seconds = 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
        seconds - the number of seconds from 01-Jan-1978 to the date specified.

   WARNING
        This function does no sanity checking of the data in the clockdata
        structure.

   SEE ALSO
        amiga2date(), checkdate()