I've been trying to print a timestamp format (I mean seconds from 1 Jan
1970) with `date` program from coreutils package.
Look at the info documentation under "Examples of date" in the "date
invocation" section of the manual.
Sorry, my documentation seems to be malformed, as it seems to be the
only section missing (the one that was so needed:).
To convert that number back to human readable time use
date -R -d '1970-01-01 UTC 1128263113 seconds'
Sun, 02 Oct 2005 08:25:13 -0600
Bob
Thanks, it works. The only things I found were some Perl 1-liners, which
didn't suit me.
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils