Click or drag to resize

TimeZoneInformationConvert Method (TimeZoneInformation, TimeZoneInformation, DateTime)

Converts the local time of the source timezone to the local time of the destination timezone.

Namespace:  WorkflowGen.My.Globalization
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.3.3.0 (8.3.3.20240926)
Syntax
public static DateTime Convert(
	TimeZoneInformation source,
	TimeZoneInformation destination,
	DateTime sourceLocalTime
)

Parameters

source
Type: WorkflowGen.My.GlobalizationTimeZoneInformation
The source timezone
destination
Type: WorkflowGen.My.GlobalizationTimeZoneInformation
The destination timezone
sourceLocalTime
Type: SystemDateTime
The local time of the source timezone that is to be converted to the local time in the destination timezone

Return Value

Type: DateTime
The local time in the destination timezone.
See Also