Click or drag to resize

TimeZoneInformationToUtcTime Method (DateTime)

Converts a local time of the current timezone to a Utc time

Namespace:  WorkflowGen.My.Globalization
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.1.0.0 (9.1.0.20241025)
Syntax
public DateTime ToUtcTime(
	DateTime sourceLocalTime
)

Parameters

sourceLocalTime
Type: SystemDateTime
The local time in the current timezone

Return Value

Type: DateTime
The Utc time that is equivalent to the local time in the current timezone.
See Also