📜  c# 将日期 utc 转换为 cst - C# 代码示例

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

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