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: 4.3.0.0 (4.3.0.0)
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