ComponentOne Input for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.C1Schedule Namespace / TimeZoneInfo Class / ToLocalTime Method
The UTC time to convert.

In This Topic
    ToLocalTime Method
    In This Topic
    Converts the value of the utc time to a local time in this time zone.
    Syntax
    'Declaration
     
    Public Function ToLocalTime( _
       ByVal utc As System.Date _
    ) As System.Date
    public System.DateTime ToLocalTime( 
       System.DateTime utc
    )

    Parameters

    utc
    The UTC time to convert.

    Return Value

    The local time.
    See Also