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

DateStamp

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

Declaration

Source position: amigados.pas line 2230

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

DOSDateToStr

  

Converts a DateStamp to a string

DOSStrToDate

  

Converts a string to a DateStamp

SetFileDate

  

Sets the modification date for a file or dir

CompareDates

  

Compares two datestamps


Documentation generated on: 2021-07-30