[RndTbl] Convert time in seconds to date in bash?
theodore at nerdzone.ca
Tue Dec 7 11:30:58 CST 2004
I don't have a gnu/linux box (or gnu date) on hand.. but on freebsd:
$ date -j -r 1102434671
Tue Dec 7 09:51:11 CST 2004
on gnu date I believe it needs to be done with the + option, but I don't
have a machine to test that on right now.
On Tue, December 7, 2004 9:48, Kevin McGregor said:
> Does anyone know of a quick way to convert the Unix time (in seconds since
> Jan 1, 1970) to a readable date via bash and standard commands?
More information about the Roundtable