Written by

Question James Woo · Feb 7, 2020

How to convert current date and time to Unix epoch time?


The Caché epoch is January 1, 1840  and the Unix epoch (or Unix time or POSIX time or Unix timestamp) is the number of seconds that have elapsed since January 1, 1970 . How do you convert the current date and time to Unix epoch time?

Comments

Sukhpreet Singh  Jul 6, 2023 to Robert Cemper

How can we convert unix time stamp to date (dd mon yyyy) for example epochtime. = 572486400 and i want to convert it to 22 Feb 1988?

0
Steve Clay · Feb 7, 2020

There are also some Epoch conversion methods in the %Library.UTC class.

0