Return the current Unix time.
Source position: bunxh.inc line 98
function FpTime( |
var tloc: TTime |
FpTime returns the number of seconds since 1970-01-01T00:00Z ignoring leap seconds. It is adjusted to the local time zone, but not to DST (daylight savings time). The result is also stored in tloc if it is specified.
On error, -1 is returned. Extended error information can be retrieved using fpGetErrno.
|
Convert Unix epoch time to a TDateTime value. |
|
|
Convert Unix Timestamp to a Mac Timestamp. |
Program Example1; { Program to demonstrate the fptime function. } Uses baseunix; begin Write ('Second past the start of the Epoch (1970-01-01T00:00): '); Writeln (fptime); end.