TimeZone.DaylightName Property

 

Gets the daylight saving time zone name.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

abstract DaylightName : string with get

Property Value

Type: System.String

The daylight saving time zone name.

If daylight saving time is not used in the time zone, an empty string ("") is returned.

The DaylightName property corresponds to the TimeZoneInfo.DaylightName property. Whenever possible, use the TimeZoneInfo.DaylightName property.

The following example references and displays the DaylightName property of the current time zone.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: