using System.Collections.Generic;
using System.Collections.ObjectModel;
public static void Main()
ReadOnlyCollection<TimeZoneInfo> tz;
List<TimeZoneInfo> midnightTimeZone = new List<TimeZoneInfo>();
tz= TimeZoneInfo.GetSystemTimeZones();
var dateInTimeZone = TimeZoneInfo.ConvertTime(DateTime.Now, t);
Console.Write(dateInTimeZone.Hour);
Console.WriteLine(t.DisplayName);
if (dateInTimeZone.Hour == 0) {
Console.WriteLine("TimeZone where it is Midnight");
foreach(var t in midnightTimeZone) {
Console.WriteLine(t.DisplayName);