next up previous contents index
Next: GetUid Up: Functions and procedures Previous: GetPriority

GetTime

   

Declaration:

Procedure GetTime (Var Hour,Minute, Second : Word) ;

Description:

Returns the current time of the day.

Errors:

None

See also:

GetEpochTime, GetDate, EpochToLocal

Example
Program Example5;

{ Program to demonstrate the GetTime function. }

Uses linux;

Var Hour, Minute, Second : Word;

begin
  GetTime (Hour, Minute, Second);
  Writeln ('Time : ',Hour:2,':',Minute:2,':',Second:2);
end.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998