语言

TimeZoneInformation.Bias 属性

定义

在这台电脑上,获取当前的本地时间转换偏差,分钟计时。

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  

适用于