fpc/docs/unixex/ex5.pp
2004-10-22 21:57:33 +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.