| [Overview][Constants][Procedures and functions][Index] | 
Extract the hour part from a DateTime value.
Source position: dateutil.inc line 125
| function HourOf( | 
| const AValue: TDateTime | 
| ):Word; | 
| AValue | 
 | Date/time value to extract hour from. | 
Hour part of AValue.
HourOf returns the hour of the day part of the AValue date/time indication. It is a number between 0 and 23.
For an example, see YearOf
| 
 | Extract the year from a given date. | |
| 
 | Extract week (of the year) from a given date. | |
| 
 | Extract the month from a given date. | |
| 
 | Extract the day (of month) part from a DateTime value | |
| 
 | Extract the minute part from a DateTime value. | |
| 
 | Extract the second part from a DateTime value. | |
| 
 | Extract the millisecond part from a DateTime value. |