Click or drag to resize

TimeZoneInformationToLocalTime Method (DateTime)

Converts the UtcTime to the local time of the current timezone.

Namespace:  WorkflowGen.My.Globalization
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax
public DateTime ToLocalTime(
	DateTime utcTime
)

Parameters

utcTime
Type: SystemDateTime
Utc time to convert to the local time of the current timezone.

Return Value

Type: DateTime
DateTime that represents the local time in the current timezone
See Also