ex43.pp 391 B

1234567891011121314151617
  1. Program Example43;
  2. { This program demonstrates the HourOfTheDay function }
  3. Uses SysUtils,DateUtils;
  4. Var
  5. N : TDateTime;
  6. Begin
  7. N:=Now;
  8. Writeln('Hour of the Day : ',HourOfTheDay(N));
  9. Writeln('Minute of the Day : ',MinuteOfTheDay(N));
  10. Writeln('Second of the Day : ',SecondOfTheDay(N));
  11. Writeln('MilliSecond of the Day : ',
  12. MilliSecondOfTheDay(N));
  13. End.