Share via


GetTimeZoneID Method

The GetTimeZoneID method of the SPRegionalSettings class returns the ID of the time zone used on the site based on the specified time zone settings.

Parameters

tzi   A Microsoft.SharePoint.SPTimeZoneInformation structure that contains information about the time zone.

Return Value

An unsigned 16-bit integer ID that specifies the time zone.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security