📜  c# 将 utc 转换为 est - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:53.901000             🧑  作者: Mango

代码示例1
var timeUtc = DateTime.UtcNow;
var easternZone = TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time");
var today = TimeZoneInfo.ConvertTimeFromUtc(timeUtc, easternZone);