Udostępnij za pośrednictwem


Właściwość TimeZoneInformation.Bias

Pobiera bieżący bias w minutach dla lokalnego czas tłumaczenia na tym komputerze.

Przestrzeń nazw:  ReportService2010
Zestaw:  ReportService2010 (w ReportService2010.dll)

Składnia

'Deklaracja
Public Property Bias As Integer
    Get
    Set
'Użycie
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)

Wartość właściwości

Typ: System.Int32
Całkowitą reprezentująca bieżącą bias w minutach.

Uwagi

Bias jest, w minutach, różnicę między czas UTC i czas lokalnym.Wszystkie translacje między czas UTC i czas lokalnym są oparte na następującej formuły.

UTC = local time + bias