Click or drag to resize

TimeZoneToUniversalTime Method (TimeZone, DateTime)

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

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

Parameters

source
Type: NetQuarryTimeZone
The source timezone
sourceLocalTime
Type: SystemDateTime
The local time in the source timezone

Return Value

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