fpc/docs/unixex/ex6.pp
2004-10-22 21:57:33 +00:00

13 lines
202 B
ObjectPascal

Program Example6;
{ Program to demonstrate the GetDate function. }
Uses Unix;
Var Year, Month, Day : Word;
begin
GetDate (Year, Month, Day);
Writeln ('Date : ',Day:2,'/',Month:2,'/',Year:4);
end.