TimeZoneToLocalTime Method (TimeZone, DateTime) |
Converts the UtcTime 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 ToLocalTime(
TimeZone destination,
DateTime utcTime
)
Public Shared Function ToLocalTime (
destination As TimeZone,
utcTime As DateTime
) As DateTime
Parameters
- destination
- Type: NetQuarryTimeZone
The destination timezone - utcTime
- Type: SystemDateTime
Utc time that is to be converted to the local time of
the destination timezone.
Return Value
Type:
DateTimeDateTime that represents the local time in the destination timezone
See Also