DateTime timeUtc = TimeZoneInfo.ConvertTimeBySystemTimeZoneId(Time[0], TimeZoneInfo.Local.Id, "GMT Standard Time"); TimeZoneInfo zone = TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time"); DateTime dt = TimeZoneInfo.ConvertTimeFromUtc(timeUtc, zone); Print("Eastern ST: " + dt);
I think it's related to how I create the UTC time. How can I properly capture UTC time?
Comment