Forum Discussion

Michael Beneke's avatar
Michael Beneke
Copper Contributor
Feb 23, 2018

custom formatting of years prior to 1900

Discovered a bug in Excel:  given a date I need to reformat this to a custom YYYYMMDD.  This works great unless the year begins with "18"; the results are '37931222', for instance when translating 12/25/1894

1 Reply

  • Haytham Amairah's avatar
    Haytham Amairah
    Silver Contributor

    Michael,

     

    This is not a bug!

    Excel's https://support.office.com/en-us/article/date-systems-in-excel-e7fe7167-48a9-4b96-bb53-5612a800b487 is programmed this way.

    The starting date of the date system is 1/1/1900.

Resources