How can I convert a timestamp (seconds since the Epoch)

How can I convert a timestamp (seconds since the Epoch) to a date/time string?

Added: 04/06/01

This can be accomplished using 'adb' as follows:

echo "0d$timer=Y" | adb | tr -d '\011'

where $timer is the timestamp you wish to convert.



Home
FAQ