Hour Function
Syntax
Hour(dateexpr)
Group
Time/Date
Description
Return the hour of the day (0 to 23).
Parameters
dateexpr
|
Return the hour of the day for this date value.
If this value is Null then Null
is returned.
|
Example
Sub Main
Debug.Print Hour(#12:00:01 AM#) ' 0
End Sub
See also
Minute( ), Second( ), Time( )