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
)
Public Shared Function Convert (
source As TimeZone,
destination As TimeZone,
sourceLocalTime As DateTime
) As DateTime
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:
DateTimeThe local time in the destination timezone.
See Also