[ale] converting time formats in script
Fletch
fletch at phydeaux.org
Wed Aug 15 13:46:41 EDT 2001
>>>>> "David" == David S Jackson <dsj at sylvester.dsj.net> writes:
David> How would you convert a variable stored in UTC Epoch time
David> back to your particular time zone?
perl -le 'print scalar localtime shift' $time
perldoc -f localtime
(Of course this whole thing would be trivial in perl . . . :)
--
Fletch | "If you find my answers frightening, __`'/|
fletch at phydeaux.org | Vincent, you should cease askin' \ o.O'
770 933-0600 x211(w) | scary questions." -- Jules =(___)=
| U
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
More information about the Ale
mailing list