TimeZoneInformationConvert Method (TimeZoneInformation, DateTime) |
Converts the local time of the current timezone to the local time of the destination timezone.
Namespace:
WorkflowGen.My.Globalization
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.1.0.0 (9.1.0.20241025)
Syntax public DateTime Convert(
TimeZoneInformation destination,
DateTime localTime
)
Public Function Convert (
destination As TimeZoneInformation,
localTime As DateTime
) As DateTime
Parameters
- destination
- Type: WorkflowGen.My.GlobalizationTimeZoneInformation
The destination timezone - localTime
- Type: SystemDateTime
The local time in the current time zone to convert
Return Value
Type:
DateTimeThe local time in the destination timezone.
See Also