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?

00
2 1 2 432

Replies

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