| xHarbour Reference Documentation > Function Reference |
![]() |
![]() |
![]() |
Extracts the hour from a DateTime value
Hour( <dDateTime> ) --> nHour
The function extracts the hour from a DateTime value and returns it as a numeric value.
| See also: | DateTime(), Day(), Minute(), Month(), Secs(), Year() |
| Category: | Conversion functions , Date and time , xHarbour extensions |
| Source: | rtl\dateshb.c |
| LIB: | xhb.lib |
| DLL: | xhbdll.dll |
http://www.xHarbour.com