Share via


TimeZoneInformation.Bias Property

Gets the current bias, in minutes, for local time translation on this computer.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

Syntax

'Declaration
Public Property Bias As Integer
    Get
    Set
'Usage
Dim instance As TimeZoneInformation
Dim value As Integer

value = instance.Bias

instance.Bias = value
public int Bias { get; set; }
public:
property int Bias {
    int get ();
    void set (int value);
}
member Bias : int with get, set
function get Bias () : int
function set Bias (value : int)

Property Value

Type: System.Int32
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