Syntax:
Hour(dateexpr)
Group:
Time/Date
Description:
Returns the hour of the day (0 to 23).
Parameters:
Parameter
|
Description
|
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
EndSub