AFTimeZone.DisplayName Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The localized general display name that represents the time zone.
Namespace: OSIsoft.AF.Time
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public string DisplayName { get; }
Public ReadOnly Property DisplayName As String Get Dim instance As AFTimeZone Dim value As String value = instance.DisplayName
public: property String^ DisplayName { String^ get (); }
member DisplayName : string with get
Property Value
Type: StringReturns the time zone's localized general display name. e.g.
Remarks
Time zone display names for Windows system time zones follow a fairly standard format. The
first portion of the display name is the time zone's base offset from Coordinated Universal
Time, which is indicated by the acronym GMT (for Greenwich Mean Time), enclosed in parentheses.
For Coordinated Universal Time, the GMT acronym with no offset is enclosed in parentheses.
This is followed by a string that indicates the time zone or one or more cities, regions, or
countries in the time zone. For example:
'(GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London' or
'(GMT-07:00) Mountain Time (US & Canada)'.