fpc/docs/datutex/ex43.pp
2004-12-29 21:24:20 +00:00

17 lines
391 B
ObjectPascal

Program Example43;
{ This program demonstrates the HourOfTheDay function }
Uses SysUtils,DateUtils;
Var
N : TDateTime;
Begin
N:=Now;
Writeln('Hour of the Day : ',HourOfTheDay(N));
Writeln('Minute of the Day : ',MinuteOfTheDay(N));
Writeln('Second of the Day : ',SecondOfTheDay(N));
Writeln('MilliSecond of the Day : ',
MilliSecondOfTheDay(N));
End.