Partager via


Propriété TimeZoneInformation.Bias

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

Espace de noms :  ReportService2006
Assembly :  ReportService2006 (en ReportService2006.dll)

Syntaxe

'Déclaration
Public Property Bias As Integer 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

Type : System.Int32
An integer that represents the current bias, in minutes.

Notes

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

Voir aussi

Référence

TimeZoneInformation Classe

Espace de noms ReportService2006