ReadOnlyCollection<TimeZoneInfo> times =TimeZoneInfo.GetSystemTimeZones();
foreach (TimeZoneInfo info in times)
{
System.Console.WriteLine("时区ID:" +info.DisplayName + "时区名称:"+info.Id);
}
根據時區ID獲取時區信息
TimeZoneInfo tZone = TimeZoneInfo.FindSystemTimeZoneById("China Standard Time");