help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'oldlinux' (#rtl)

GetTimeOfDay

Return kernel time of day in GMT

Declaration

Source position: line 0

procedure GetTimeOfDay(

  var tv: timeval

);

function GetTimeOfDay: LongInt;

Description

GetTimeOfDay 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. To get the local time, GetTime.

Errors

None.

See also

GetTime

  

Return current system time

GetTimeOfDay

  

Return kernel time of day in GMT

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505