Function GetEpochTime : longint;
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.
no errors
EpochToLocal, GetTime, time(2)