HOUR(DT) |
![]() ![]() ![]() |
Description
This function returns the hours (0 - 23, where 0 represents midnight) component of the datetime value DT.
Parameters
DT
A datetime value.
Examples
HOUR(.25) = 6
HOUR(0) = 0
HOUR(.99) = 23
Try Predictive Systems Lab
Need Help?
Contact support