Share via


_TimeZone.StandardBias Property

Returns an Integer (int in C#) value that represents the time offset in minutes from the Bias to account for standard time in this time zone. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property StandardBias As Integer
    Get
'Usage
Dim instance As _TimeZone
Dim value As Integer

value = instance.StandardBias
[DispIdAttribute()]
int StandardBias { get; }

Property Value

Type: System.Int32

Remarks

This value is stored as part of the value for TZI for the time zone in the Windows registry. The TZI value is mapped to the Windows TIME_ZONE_INFORMATION structure.

In relation to the UTC time and the local time of the time zone, UTC time is the result of adding the Bias and StandardBias to the local time. For example, in a state adopting standard time in the Pacific time zone, the Bias is 480 minutes and StandardBias is 0 minutes. To determine the time in UTC for June 11, 2 A.M. PST, add a Bias of (480/60) hours and a StandardBias of 0 hours to the local time June 11, 2 A.M. The time in UTC is June 11, 10 A.M.

See Also

Reference

_TimeZone Interface

_TimeZone Members

Microsoft.Office.Interop.Outlook Namespace