next up previous contents index
Next: GetDate Up: Functions and procedures Previous: LocalToEpoch

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
Tue Mar 31 16:46:10 CEST 1998