[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Return current system time
Source position: line 0
procedure GetTime( |
var hour: Word; |
var min: Word; |
var sec: Word; |
var msec: Word; |
var usec: Word |
); |
var hour: Word; |
var min: Word; |
var sec: Word; |
var sec100: Word |
); |
var hour: Word; |
var min: Word; |
var sec: Word |
); |
Returns the current time of the day, adjusted to local time. Upon return, the parameters are filled with
None
|
Return the current unix time |
|
|
Return the system date |
|
|
Return system date and time |
|
|
Convert epoch time to local time |
Program Example5; { Program to demonstrate the GetTime function. } Uses oldlinux; Var Hour, Minute, Second : Word; begin GetTime (Hour, Minute, Second); Writeln ('Time : ',Hour:2,':',Minute:2,':',Second:2); end.
lazarus-ccr.sourceforge.net |