| Financial Toolbox | Search  Help Desk |
| hour | Examples See Also |
Syntax
h = hour(d)
Description
h = hour(d)
returns the hour of the day given a serial date number or a date string d.
Example
h = hour(728647.5590548427)or
h = hour('19-dec-1994, 13:24:08.17')
returns
h =13
See Also
datevec, minute, second