%% Determine the Hour of the Day for Various Dates
% Find the hour of the day for Date using a serial date number.

Hour = hour(730473.5584278936)

%
% Find the hour of the day for Date using a character vector representing a date and time.

Hour = hour('19-dec-1999 13:24:08.17','dd-mmm-yyyy HH:MM:SS')

% Copyright 2012 The MathWorks, Inc.