Hi,

The DT=datenum(2017,5,13,0,0,0); in matlab gives: 736828

when i convert 736828 in excel to dattime it gives 5/13/3917 12:00:00 AM.

What is the reason behind such change in the year between matlab and excel conversion?

Thanks!

Skip to content
# MATLAB: Discrepancy in date conversion

date conversionMATLAB

Hi,

The DT=datenum(2017,5,13,0,0,0); in matlab gives: 736828

when i convert 736828 in excel to dattime it gives 5/13/3917 12:00:00 AM.

What is the reason behind such change in the year between matlab and excel conversion?

Thanks!

## Best Answer