Support Centre

Find articles, help and advice.

Welcome, Guest Login

Support Center

BES - How do I convert a unix timestamp to a human date in rexx?

Last Updated: Nov 17, 2014 02:48PM UTC
Converting a unix timestamp can be achieved using rexx statements in SMARTView logic. Using the CAF field OriginKey as an example, one of the following statements can be added to SMARTView logic to convert the timestamp held in the OriginKey field to a human readable date:

OriginKey = iss_convert_from_epoch(OriginKey,'%c') 


OriginKey = iss_convert_from_epoch(OriginKey,'%Y/%m/%d %H:%M:%S') 

OriginKey was equal to 1415978681 or 1415978681000, which returned "Fri, 14 Nov 2014 15:24:41" when converted.


Contact Us
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found