[ale] time conversion
Fletch
fletch at phydeaux.org
Wed May 7 21:12:06 EDT 2003
>>>>> "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
More information about the Ale
mailing list