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

DateStamp

Fills the structure with the current time. Time is measured from 1. Jan. 1978.

Declaration

Source position: amigados.pas line 2457

function DateStamp(

  Date: PDateStamp

):PDateStamp;

Arguments

Date

  

Pointer to recieve the timing information.

Function result

Returns the supplied pointer

Description

DateStamp() takes a structure of three longwords that is set to the current time. The first element in the vector is a count of the number of days. The second element is the number of minutes elapsed in the day. The third is the number of ticks elapsed in the current minute. A tick happens 50 times a second. DateStamp() ensures that the day and minute are consistent. All three elements are zero if the date is unset.

See also

DOSStrToDate

  

CompareDates

  

Compares two datestamps


Documentation generated on: 2021-07-30