Click or drag to resize
AbstractDateTimePickerCalculateTimeZoneOffset Method
Calculates offset of time zone specified by timeZoneType relative to UTC.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
Syntax
C#
protected double CalculateTimeZoneOffset(
	TimeZoneTypeEnum timeZoneType,
	TimeZoneInfo customTimeZone
)

Parameters

timeZoneType
Type: CMS.GlobalizationTimeZoneTypeEnum
Time zone type
customTimeZone
Type: CMS.GlobalizationTimeZoneInfo
Custom time zone

Return Value

Type: Double
See Also