TimeZoneInformationToLocalTime Method (TimeZoneInformation, DateTime) |
Converts the UtcTime to the local time of the destination timezone.
Namespace:
WorkflowGen.My.Globalization
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.0.5.0 (8.0.5.20210818)
Syntax public static DateTime ToLocalTime(
TimeZoneInformation destination,
DateTime utcTime
)
Public Shared Function ToLocalTime (
destination As TimeZoneInformation,
utcTime As DateTime
) As DateTime
Parameters
- destination
- Type: WorkflowGen.My.GlobalizationTimeZoneInformation
The destination timezone - utcTime
- Type: SystemDateTime
Utc time that is to be converted to the local time of the destination timezone.
Return Value
Type:
DateTimeThe DateTime that represents the local time in the destination timezone
See Also