TimeZoneInformation.Bias TimeZoneInformation.Bias TimeZoneInformation.Bias Property

定义

获取此计算机上当地时间转换的当前偏差(单位分钟)。 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; }
Public Property Bias As Integer
属性值

integer ,它表示当前的偏差,以分钟为单位。 An integer that represents the current bias, in minutes.

注解

偏差之间的区别是,以分钟为单位,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  

适用于