0

Possible Duplicate:
TimeZoneInfo.GetSystemTimeZones() how to Select entries for specific country codes only?

in C#, I'm trying to get the TimeZoneInfo for a specified country code (for example 'US' for united states).

Is there a way I can achieve that without any 3rd party\saving the TimeZoneInfo.Id string on my countries table?

Thanks, Nir.

Community
  • 1
  • 1
nirpi
  • 715
  • 1
  • 9
  • 23
  • Read this SO thread - http://stackoverflow.com/questions/5827091/timezoneinfo-getsystemtimezones-how-to-select-entries-for-specific-country-cod – KV Prajapati Feb 06 '12 at 15:02
  • Surely US has multiple timezones depending on where in the country you are...if you are trying to make a one to one mapping of timezones to countries then there are a lot of exceptions that will not work. – Chris Feb 06 '12 at 15:04
  • Time zone choices are political decisions, only indirectly affected by the location. Samoa just hopped across the date line a month ago, losing December 30th in the process. – Hans Passant Feb 06 '12 at 15:29

0 Answers0