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: 8.0.5.0 (8.0.5.20210818)
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