• Unix time to Excel formula not working

    Author
    Topic
    #505749

    I find many sites saying to use the following formula to convert a Unix data/time format to Excel date. =(A1/86400)+25569+(-9/24) where A1 contains the Unix time. I’m getting this time from another system and the example I’m using in A1 is 1461336955311. Excel says the resultant date is negative or too large to display. Suggestions for troubleshooting appreciated.

    Viewing 3 reply threads
    Author
    Replies
    • #1565734

      Hi bdesilva,

      Please check the value you are using as the Unix Date:
      1461336955311

      If you truncate the value to
      1461336955

      Your date will evaluate to 04/22/2016 5:55 using your formula.

      HTH,
      Maud

    • #1565736

      Forgot to mention that I formatted the cell with the formula as:

      mm/dd/yyyy h:mm

    • #1565737

      Forgot to mention that I formatted the cell with the formula as:

      mm/dd/yyyy h:mm

      and I assume that you want to use a 9 hour offset from GMT.

      Maud

    • #1565900

      Thanks! That solved it.

    Viewing 3 reply threads
    Reply To: Unix time to Excel formula not working

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: