How to convert UNIX epoch to date format for u se in Alerts?

Olaf Greis Olaf.Greis at grinco.de
Wed Dec 18 02:35:00 CET 2002


>  The only problem now is that $LASTSTATECHANGE$ is in UNIX epoch format.
> How does one convert this to readable format ?

perl -e 'print scalar localtime(1234567890)' is one of the possible solutions.

brdgs
  olaf


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/




More information about the Users mailing list