Skip to content

ExcelDateToDateList

alexisakov edited this page Sep 6, 2017 · 1 revision

ExcelDateToDateList[t] converts date number from imported Excel sheet to DateList format.

ExcelDateToDateList[x_]:= (DatePlus[{1900, 1, 1}, x - 2]);

Example:

ExcelDateToDateList[41684]
{2014, 2, 14}
Clone this wiki locally