On Wed, Nov 24, 2004 at 01:41:17PM +1100, Benno wrote:
> 
> TZ=US/Pacific python -c "import time; print time.ctime(1081207440)" 
> ^^^^^^^^^^^^^

You can also use the GNU date command:

        date --date '1081207440 seconds'

Prepend with a TZ setting if you so desire.

Matt

PS. perl: something very much like:

        perl -e 'print $t = localtime(1081207440),"\n"'

ditto about the TZ=


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to