Click or drag to resize

TimeZoneConvert Method (TimeZone, TimeZone, DateTime)

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

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static DateTime Convert(
	TimeZone source,
	TimeZone destination,
	DateTime sourceLocalTime
)

Parameters

source
Type: NetQuarryTimeZone
The source timezone
destination
Type: NetQuarryTimeZone
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