Hour of date or time
Syntax
Hour = hour(Date)
Description
Hour = hour(Date) returns the hour of the day given a serial date number or a date string.
Examples
Hour = hour(730473.5584278936)
or
Hour = hour('19-dec-1999, 13:24:08.17')
returns
Hour = 13
=
13
See Also
datevec, minute, second
datevec
minute
second