Converts the value of the utc time to a local time in this time zone.

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

Syntax

C#
public DateTime ToLocalTime(
	DateTime utc
)
Visual Basic
Public Function ToLocalTime ( _
	utc As DateTime _
) As DateTime

Parameters

utc
Type: System..::..DateTime
The UTC time to convert.

Return Value

The local time.

See Also