Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Dayna
Creator II
Creator II

Convert integer to timestamp

Hello,

I'm hoping someone can help me. From my Postgre database, we're getting time values through as a long integer. I need to convert these to a timestamp.

An example being "1537857953942" should actually be Sep 12, 2018 12:05, can someone help, please?

Kind Regards,

Dayna

1 Solution
6 Replies
Dayna
Creator II
Creator II
Author

Sadly not the same issue, the article you refer to has an integer which is actually the date (20141029122728). Whereas I believe mine is the difference between the actual date, and the Unix timestamp of 01/01/1970.

Dayna
Creator II
Creator II
Author

Perfect, thank you!
m_woolf
Master II
Master II

Thank Google

Dayna
Creator II
Creator II
Author

Normally do! 😉