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: 9.0.3.0 (9.0.3.20240719)
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