Click or drag to resize
TimeZoneInfoProviderGetTimeZoneInfo Method (Int32)

Note: This API is now obsolete.

Returns the TimeZoneInfo structure for the specified Id.

Namespace: CMS.Globalization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ITimeZoneInfoProvider.Get(int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - TimeZoneInfo.Provider.")]
public static TimeZoneInfo GetTimeZoneInfo(
	int timeZoneId
)

Parameters

timeZoneId
Type: SystemInt32
TimeZone id

Return Value

Type: TimeZoneInfo
See Also