TimeZoneInformationToLocalTime Method (DateTime) |
Converts the UtcTime to the local time of the current timezone.
Namespace:
WorkflowGen.My.Globalization
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.0.3.0 (9.0.3.20240719)
Syntax public DateTime ToLocalTime(
DateTime utcTime
)
Public Function ToLocalTime (
utcTime As DateTime
) As DateTime
Parameters
- utcTime
- Type: SystemDateTime
Utc time to convert to the local time of the current timezone.
Return Value
Type:
DateTimeDateTime that represents the local time in the current timezone
See Also