%% Convert MATLAB Serial Date Numbers Using 1900 Date System
% This example shows how to convert MATLAB serial date numbers using the 1900 date system. Given MATLAB date numbers for Christmas 2001 through 2004, convert them to Excel date numbers in the 1900 system.

DateNum = datenum(2001:2004, 12, 25);
ExDate = m2xdate(DateNum)

% Copyright 2015 The MathWorks, Inc.