How to get UTC offset for non-standard time zone names?

S

skip

I have the pytz package but it doesn't know about non-standard timezone
names like "CDT5" or "CST6". I can obviously infer that they are either
five or six hours behind UTC. Are they constructed in some standard way so
that I can assume that if a timezone name is not known to pytz I can assume
the trailing number represents the number of hours behind UTC? Is there
some standard definition of the format of such semi-numeric timezone names?

Thx,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,044
Members
48,769
Latest member
Clifft

Latest Threads

Top