Forum Discussion

Nathant's avatar
Nathant
Frequent Visitor
2 years ago

Converting UNIX timestamp to datetime

I have a UNIX timestamp being returned as 1635854750 which when putting into an online converter should be Tue Nov 09 2021 11:06:11 GMT+0000.

 

So i have created a custom column with the following query to convert.

 

#datetime(1970,1,1,0,0,0) + #duration(0,0,0,[data.resolved_time]/1000)

 

But this isn't yielding the result i'm expecting (row 1)?

 

Am i missing something?



 

 

1 Reply

  • DOLEARY85's avatar
    DOLEARY85
    Resident Rockstar

    Hi,

     

    Try removing the /1000 part of the formula,

     

    If I answered your question, please mark my post as solution, Appreciate your Kudos 👍