Sign in Join
FPDoc Onlineexperiment

fpgettimeofday function

In unit Unix

Return kernel time of day in GMT.

Declaration

pascal
function fpgettimeofday(tp: ptimeval; tzp: ptimezone): cint

Description

FpGetTimeOfDay returns the number of seconds since 00:00, January 1 1970, GMT in a timeval record. This time NOT corrected any way, not taking into account timezones, daylight savings time and so on.

It is simply a wrapper to the kernel system call.

Errors

None.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.