1

Is there any timezone mapping method from c# to python?

for example, from c# timezone id to python timezone list

Community
  • 1
  • 1
yountae.kang
  • 2,317
  • 7
  • 22
  • 42
  • possible duplicate of [How to translate between Windows and IANA time zones?](http://stackoverflow.com/questions/17348807/how-to-translate-between-windows-and-iana-time-zones) – jfs Dec 30 '14 at 06:10

1 Answers1

1

To convert MS Windows timezone names ("c# timezone") to tzdata/Olsen timezone names (pytz "python timezone list") you could use http://unicode.org/repos/cldr/trunk/common/supplemental/windowsZones.xml file e.g., to autogenerate the mapping, you could use get_windows_info.py Python 3 script.

jfs
  • 374,366
  • 172
  • 933
  • 1,594
  • 1
    thx, I found similar answer. http://stackoverflow.com/questions/17348807/how-to-translate-between-windows-and-iana-time-zones but python script +1 – yountae.kang Dec 30 '14 at 06:08