TimeZoneInformation.Bias 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在这台电脑上,获取当前的本地时间转换偏差,分钟计时。
public:
property int Bias { int get(); void set(int value); };
public int Bias { get; set; }
member this.Bias : int with get, set
Public Property Bias As Integer
属性值
代表 integer 当前的偏差,单位为分钟。
注解
偏差是UTC与当地时间的分钟差。 所有UTC与当地时间之间的平移均基于以下公式。
UTC = local time + bias