How to obtain GMT offset?

Bengt Richter bokr at oz.net
Tue Aug 16 15:18:23 EDT 2005


On Mon, 15 Aug 2005 20:57:16 -0700, Erik Max Francis <max at alcyone.com> wrote:

>new pip wrote:
>
>> I'm using Windows os. If the current system date time is '28 Jun 2001
>> 14:17:15 +0700', how can I obtain the value '+0700' using python?
>
>time.timezone gives you the timezone offset in minutes.
>
ITYM seconds?

Regards,
Bengt Richter



More information about the Python-list mailing list