Date values might be incorrect when you read Microsoft Excel files with the XLS or XLSX engines


Date values might be incorrect when you use the XLS or XLSX engines to import Excel files. The dates are off by 60 years and one day. For example, the date 02/24/2003 is imported as 02/25/2063.

To circumvent the problem, use one of the following methods:

mynewdate=mydate-21916;
format mynewdate mmddyy10.;