Platform

Platform

A place for Apptio product users to learn, connect, share and grow together.

 View Only
Expand all | Collapse all

Convert Excel date code to Date

  • 1.  Convert Excel date code to Date

    Posted Tue September 06, 2022 10:11 AM

    I've recently come across source files that sometimes use valid dates and and excel date codes other times. Here's a formula to dynamically convert to a date using as a field override:

    MyDate =if(IsNumeric($_),DateFormat((value($_)-25569)*24*60*60,"M/d/yyyy"),$_)

    This converts an excel date code like 43062 to a date string like 11/23/2017.


    #TBMStudio


  • 2.  RE: Convert Excel date code to Date

    Posted Tue September 13, 2022 09:09 AM
    @Jeremy Wilson - Hi - thanks for posting this I've been struggling with one of our data sources that had a mixture of valid dates / codes this has worked perfectly :-)​