Share via


TimeZone.UtcOffset Property

Gets the Universal Time Coordinate (UTC) offset value for the time zone.

Namespace: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

'Declaration
Public ReadOnly Property UtcOffset As Integer
public int UtcOffset { get; }
public:
virtual property int UtcOffset {
    int get () sealed;
}
/** @property */
public final int get_UtcOffset ()
public final function get UtcOffset () : int

Property Value

An integer representing the UTC offset value for the time zone.

Remarks

The UTC Offset value is the number of SqlDateTime clock "ticks" between UTC and the time zone. To obtain the number of hours between UTC and the time zone, divide the UTC offset value by 1080000.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

TimeZone Class
TimeZone Members
Microsoft.SqlServer.NotificationServices Namespace