fpc/docs/olinuxex/ex5.pp
2004-10-16 13:14:03 +00:00

13 lines
220 B
ObjectPascal

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.