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



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

fpsettimeofday

Set kernel time

Declaration

Source position: bunxh.inc line 107

function fpsettimeofday(

  tp: ptimeval;

  tzp: ptimezone

):cint;

Description

FpSetTimeOfDay sets the kernel time to the number of seconds since 00:00, January 1 1970, GMT specified in the tp 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.

See also

#rtl.unix.FPGetTimeOfDay

  

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