Click or drag to resize

TimeZoneConvert Method (TimeZone, DateTime)

Converts the local time of the current 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 DateTime Convert(
	TimeZone destination,
	DateTime sourceLocalTime
)

Parameters

destination
Type: NetQuarryTimeZone
The destination timezone
sourceLocalTime
Type: SystemDateTime
The local time in the current time zone 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