Skip to content

Instantly share code, notes, and snippets.

@knunery
Created March 11, 2014 15:52
Show Gist options
  • Save knunery/9488664 to your computer and use it in GitHub Desktop.
Save knunery/9488664 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
public class Program
{
public static void Main()
{
foreach (TimeZoneInfo timeZone in TimeZoneInfo.GetSystemTimeZones()){
Console.WriteLine("{0}: {1}", timeZone.Id, timeZone.DisplayName);
}
Console.WriteLine(TimeZoneInfo.GetSystemTimeZones().Count);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment