Python - Timezones

Posted by Adam on Stack Overflow See other posts from Stack Overflow or by Adam
Published on 2009-08-19T17:38:31Z Indexed on 2010/05/07 16:48 UTC
Read the original article Hit count: 173

Filed under:
|

Hey

Is it possible with python to set the timezone just like this in php:

date_default_timezone_set("Europe/London");
$Year = date('y');
$Month = date('m');
$Day = date('d');
$Hour = date('H');
$Minute = date('i');

I can't really install any other modules etc as I'm using shared web hosting.

Any ideas?

© Stack Overflow or respective owner

Related posts about python

Related posts about timezone