date +%s produces
1403568422. Is there an easy way to convert the
1403568422 to a human readable UTC timestamp?
python -c "import datetime;print datetime.datetime.utcfromtimestamp(1403568422).isoformat()" kind of works; I can also write a short C program to do the same thing. Is there a better way?
I do not want to make date print the current time in UTC. I want date (or other utility) to convert a given number of seconds since UTC - say 1403568422 - to a human readable format.
Background: I have these timestamps in a file and I wanted to know when exactly the things happened.