Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.5.2 Assembly / C1.C1Schedule Namespace / TimeZoneInfo Class / ToLocalTime Method
The UTC time to convert.

In This Topic
    ToLocalTime Method (TimeZoneInfo)
    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