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.1.0.0 (9.1.0.20241025)
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