Click or drag to resize
TimeZoneInfoProviderGetTimeZoneInfo Method (String)

Note: This API is now obsolete.

Returns the TimeZoneInfo structure for the specified name.

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

Parameters

timeZoneName
Type: SystemString
TimeZone name

Return Value

Type: TimeZoneInfo
See Also