Unit 'utility' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

Date2Amiga

Calculate seconds from 01-Jan-1978.

Declaration

Source position: utility.pas line 274

function Date2Amiga(

  const Date: PClockData

):LongWord;

Arguments

Date

  

A pointer to a ClockData structure containing the date of interest.

Function result

The number of seconds from 01-Jan-1978 to the date specified.

Description

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

Errors

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

See also

Amiga2Date

  

Fill in a ClockData structure based on a system time stamp

CheckDate

  

Checks a ClockData structure for legal date.


Documentation generated on: 2021-07-30