[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] converting time formats in script



>>>>> "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.