[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Convert a TDateTime value to a file age (integer)
Source position: datih.inc line 159
function DateTimeToFileDate( |
DateTime: TDateTime |
):LongInt; |
DateTimeToFileDate function converts a date/time indication in TDateTime format to a filedate function, such as returned for instance by the FileAge function.
None.
|
Returns the current time. |
|
|
Return the current date. |
|
|
Convert a FileDate value to a TDateTime value. |
|
|
Converts a TDateTime value to a systemtime structure. |
|
|
Converts a TDateTime value to a TimeStamp structure. |
Program Example2; { This program demonstrates the DateTimeToFileDate function } Uses sysutils; Begin Writeln ('FileTime of now would be: ',DateTimeToFileDate (Now)); End.