ComponentOne GridView for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.C1Schedule Namespace / TimeZoneInfo Class / GetTimeZone Method
A name of the time zone to search for.

In This Topic
    GetTimeZone Method
    In This Topic
    Returns a TimeZoneInfo instance for the time zone with supplied name.
    Syntax
    'Declaration
     
    Public Shared Function GetTimeZone( _
       ByVal name As System.String _
    ) As TimeZoneInfo
    public static TimeZoneInfo GetTimeZone( 
       System.string name
    )

    Parameters

    name
    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