TimeZoneInformationGetTimeZoneName Method |
Retrieves the name of the current TimeZoneInfo structure (Daylight or Standard) based on the given DateTime.
Namespace:
WorkflowGen.My.Globalization
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 9.1.0.0 (9.1.0.20241025)
Syntax public string GetTimeZoneName(
DateTime time
)
Public Function GetTimeZoneName (
time As DateTime
) As String
Parameters
- time
- Type: SystemDateTime
The time to evaluate the correct timezone name from
Return Value
Type:
StringEither the standard or daylight displayName of the timezone
See Also