Alex Schuster wrote:
Dale asks:
I asked this once before but I can't find it. I have a log file that
has time stamps that look like this:
lastrun = 1306574899
What do I use to get the human time for that? I thought it was the date
command but I couldn't find it in the man page. I tried google but I
can't recall what that time stamp is called either so not sure what to
search for.
It's seconds since 1970. You can convert them like this:
date -d @1306574899
Wonko
So it was the -d option. I thought that was it but I missed the @
sign. I added that to my list of common commands so I won't forget.
Thanks much for both replies.
Dale
:-) :-)