%% Convert Year, Month, and Day to Date Number
% Convert a date specified by year, month and day values to a serial date number.

n = datenum(2001,12,19)

% Copyright 2015 The MathWorks, Inc.