datetime module and timezone
bob.martin at excite.com
Sat Feb 11 08:05:21 CET 2012
in 671891 20120210 212545 Olive <diolu at bigfoot.com> wrote:
>In the datetime module, it has support for a notion of timezone but is
>it possible to use one of the available timezone (I am on Linux). Linux
>has a notion of timezone (in my distribution, they are stored
>in /usr/share/zoneinfo). I would like to be able 1) to know the current
>timezone and 2) to be able to use the timezone available on the system.
>How can I do that?
For 1) just type "date" on the command line.
More information about the Python-list