hour
hour(): Integer;
The hour method of the Time primitive type returns the hour part of the receiver in 24-hour clock form.
The following example shows the use of the hour method.
vars h, m, s : Integer; begin // Call this method to alter the time settings displayedTime.setTime(displayedTime.hour + h, displayedTime.minute + m, displayedTime.second + s, 00); clockFrame.caption := displayedTime.String; end;