On Wed Nov 24, 2004 at 13:37:32 +1100, Michael Knight wrote:
>Voytek wrote:
>> is there some command line tool to do it for me (not inside MySQL) ?
>> 
>> basically, I'm looking at some database dump, and, I need to find out what
>> was the date on ad hoc basis
>
>In addition to Benno's idea there are also some web sites that provide
>the feature that also let you choose your timezone. One I found was:
>
>http://www.4webhelp.net/us/timestamp.php

To answer my own question it is in localtime. And you can cahnge your
timezone on the command line:

E.g:

TZ=US/Pacific python -c "import time; print time.ctime(1081207440)" 
^^^^^^^^^^^^^

Benno
-- 
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