资 源 简 介
C# 获取当前时区的标准时区名称:private void button1_Click(object sender, EventArgs e)
{//获取当前时区的标准时区名称
var MyInfo="当前时区的标准名称是:";
if(TimeZone.CurrentTimeZone.IsDaylightSavingTime(DateTime.Now))
MyInfo+= TimeZone.CurrentTimeZone.DaylightName;
else
MyInfo+= TimeZone.CurrentTimeZone.StandardName;
MessageBox.Show(MyInfo, "信息提示", MessageBoxButtons.OK);
}