TimeZoneInformationConvert Method (TimeZoneInformation, TimeZoneInformation, DateTime) |
Converts the local time of the source timezone to the local time of the destination timezone.
Namespace:
WorkflowGen.My.Globalization
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.7.2.0 (4.7.2.0)
Syntax public static DateTime Convert(
TimeZoneInformation source,
TimeZoneInformation destination,
DateTime sourceLocalTime
)
Public Shared Function Convert (
source As TimeZoneInformation,
destination As TimeZoneInformation,
sourceLocalTime As DateTime
) As DateTime
Parameters
- source
- Type: WorkflowGen.My.GlobalizationTimeZoneInformation
The source timezone - destination
- Type: WorkflowGen.My.GlobalizationTimeZoneInformation
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