TimeZoneInformation.Bias Property

Definition

获取此计算机上当地时间转换的当前偏差(单位分钟)。Gets the current bias, in minutes, for local time translation on this computer.

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

Property Value

Int32

一个表示当前偏差(以分钟计)的integerAn integer that represents the current bias, in minutes.

Remarks

偏移量是 UTC 与本地时间之间的差值(以分钟为单位)。The bias is the difference, in minutes, between UTC and local time. UTC 和本地时间之间的所有转换都基于以下公式。All translations between UTC and local time are based on the following formula.

UTC = local time + bias  

Applies to