Windows XP timezone language issue

P

Paul Sijben

I ran into an internationalization issue. I need a consistent idea about
the timezone my application is running on. However when I run the following:
I get back ('West-Europa (standaardtijd)', 'West-Europa (zomertijd)')
which is in dutch (the language of the host machine) and verbose.
I wanted to get ('CEST','CET') or something international so I can work
with itin the same way on all platforms.

That is the right way to find out the timezone in a consistent way
across platforms (windows/linux/mac) and languages?

Paul
 
M

MRAB

I ran into an internationalization issue. I need a consistent idea about
the timezone my application is running on. However when I run the following:

I get back ('West-Europa (standaardtijd)', 'West-Europa (zomertijd)')
which is in dutch (the language of the host machine) and verbose.
I wanted to get ('CEST','CET') or something international so I can work
with itin the same way on all platforms.

That is the right way to find out the timezone in a consistent way
across platforms (windows/linux/mac) and languages?
Well, time.timezone will return the timezone as an integer.
 
P

Paul Sijben

MRAB said:
Well, time.timezone will return the timezone as an integer.
true, I am wondering if that is enough for my app. (with some of the odd
timezones in the world and DTS issues and all....
 

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

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top