fpc/docs/linuxex/ex5.pp
2004-07-17 22:03:43 +00:00

13 lines
216 B
ObjectPascal

Program Example5;
{ Program to demonstrate the GetTime function. }
Uses Unix;
Var Hour, Minute, Second : Word;
begin
GetTime (Hour, Minute, Second);
Writeln ('Time : ',Hour:2,':',Minute:2,':',Second:2);
end.