Sdílet prostřednictvím


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

An integer that represents the current bias, in minutes.

Remarks

The bias is the difference, in minutes, between UTC and local time. All translations between UTC and local time are based on the following formula.

UTC = local time + bias  

Applies to