TimeZoneInformationToUtcTime Method (DateTime) |
Converts a local time of the current timezone to a Utc time
Namespace:
WorkflowGen.My.Globalization
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.3.3.0 (8.3.3.20240926)
Syntax public DateTime ToUtcTime(
DateTime sourceLocalTime
)
Public Function ToUtcTime (
sourceLocalTime As DateTime
) As DateTime
Parameters
- sourceLocalTime
- Type: SystemDateTime
The local time in the current timezone
Return Value
Type:
DateTimeThe Utc time that is equivalent to the local time in the current timezone.
See Also