TimeZones available on your machine using C#


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. var tzone = TimeZoneInfo.GetSystemTimeZones();
  2. foreach (TimeZoneInfo tzi in tzone)
  3. {
  4. Console.WriteLine("{0}", tzi.DisplayName);
  5. }

Report this snippet


Comments


You need to login to view comments.