[RndTbl] Convert time in seconds to date in bash?
Sean A. Walberg
sean at ertw.com
Tue Dec 7 09:52:00 CST 2004
Been trying to do this one for ages... Best I can come up with uses a perl
one liner:
perl -e 'print scalar localtime 1102434671'
Sean
On Tue, 7 Dec 2004, Kevin McGregor wrote:
> 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?
>
> _______________________________________________
> Roundtable mailing list
> Roundtable at muug.mb.ca
> http://www.muug.mb.ca/mailman/listinfo/roundtable
>
--
Sean A. Walberg <sean at ertw.com> http://www.ertw.com
More information about the Roundtable
mailing list