.Net C# DateTime on Mac OSX vs Debian Linux
I have code that converts long numbers to dates. DateTimeOffset value = DateTimeOffset.FromUnixTimeSeconds(1597325462); DateTime showTime = value.DateTime; string easternZoneId = "America/New_York"; TimeZoneInfo easternZone = TimeZoneInfo.FindSystemTimeZoneById(easternZoneId); DateTime targetTime = TimeZoneInfo.ConvertTime(showTime, easternZone); Console.WriteLine("DateTime is {0}", targetTime); On my Mac, the output is…