[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] time conversion
- Subject: [ale] time conversion
- From: fletch at phydeaux.org (Fletch)
- Date: 07 May 2003 21:12:06 -0400
>>>>> "David" == David Corbin <dcorbin at machturtle.com> writes:
David> Is there a standard linux tool for converting times that
David> are in "32-bit seconds since Start of Epoch" form to a more
David> human understandable team? I know I can write one, fairly
David> easily in Perl.
FreeBSD's date has an `-r' option, but I don't see an equivalent on my
RedHat box for GNU date. At any rate it's trivial perl.
epoch2date () { perl -le 'print scalar localtime shift' $1 }
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
770 294-0820 (m) | scary questions." -- Jules =(___)=
| U
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale