Date Serial Number Converter

Turn a UTC date into the number a spreadsheet or operating system stores, and turn that number back into a date.

both directions show every supported serial
YYYY-MM-DD, optionally with HH:MM or HH:MM:SS; read as UTC
Enter a date or a serial number and press Convert.

Excel's 1900 date system counts days from 30 December 1899 and keeps a phantom 29 February 1900, so serial 60 is refused and serials 1 to 59 sit one lower than the OLE Automation date. The 1904 system counts from 1 January 1904 and runs 1,462 days behind. FILETIME counts 100-nanosecond ticks from 1 January 1601 UTC, so on a whole-millisecond date its last four digits are zero; Mac absolute time counts seconds from 1 January 2001 UTC and can be negative. Dates are handled in UTC and the range is 1 January 1900 to 31 December 9999. Nothing is stored, uploaded or sent.