SharePointTimeZone members

Represents a time zone.

The SharePointTimeZone type exposes the following members.

Constructors

  Name Description
Public method SharePointTimeZone

Top

Properties

  Name Description
Public property CurrentBias The bias of the time zone, in minutes, for the current day with adjustment for daylight savings time.
Public property DaylightBias The bias of the time zone, in minutes, when daylight savings time is in effect.
Protected property DaylightStartsDayOfWeek The day of the week when daylight savings time starts. (0 = Sunday)
Protected property DaylightStartsHour The hour when daylight savings time starts.
Protected property DaylightStartsMonth The month when daylight savings time starts.
Protected property DaylightStartsWeek The week when daylight savings time starts. (1 = first week, 5 = last week)
Protected property DaylightStopsDayOfWeek The day of the week when daylight savings time stops. (0 = Sunday)
Protected property DaylightStopsHour The hour when daylight savings time stops.
Protected property DaylightStopsMonth The month when daylight savings time stops.
Protected property DaylightStopsWeek The week when daylight savings time stops. (1 = first week, 5 = last week)
Public property ID The ID of the SharePoint time zone.
Public property Name The name of the time zone.
Public property StandardBias The bias of the time zone, in minutes, when daylight savings time is not in effect.

Top

Methods

  Name Description
Public method ConvertSiteTimeToUTC Converts a datetime object from the current site timezone to UTC time, adjusting for daylight savings.
Public method ConvertUTCToSiteTime Converts a datetime object from UTC time to the current site timezone, adjusting for daylight savings.
Public methodStatic member GetSharePointTimeZoneConfigXml

Top

See also

Reference

SharePointTimeZone class

Microsoft.Office.Server.Utilities namespace