Returns a TimeZoneInfo instance for the time zone with supplied name.

Namespace:  C1.C1Schedule
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
public static TimeZoneInfo GetTimeZone(
	string name
)
Visual Basic
Public Shared Function GetTimeZone ( _
	name As String _
) As TimeZoneInfo

Parameters

name
Type: System..::..String
A name of the time zone to search for.

Return Value

TimeZoneInfo instance if any; null otherwise.

Remarks

This method searches by standard, daylight and display names.

See Also