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