next up previous contents index
Next: GetFS Up: Functions and procedures Previous: GetEnv

GetEpochTime

   

Declaration:

Function GetEpochTime : longint;

Description:

returns the number of seconds since 00:00:00 gmt, january 1, 1970. it is adjusted to the local time zone, but not to DST.

Errors:

no errors

See also:

EpochToLocal, GetTime, time (2)

Example
Program Example1;

{ Program to demonstrate the GetEpochTime function. }

Uses linux;

begin
  Write ('Secs past the start of the Epoch (00:00 1/1/1980) : ');
  Writeln (GetEpochTime);
end.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998