This documentation is archived and is not being maintained.

TimeZoneInfo::TransitionTime::TimeOfDay Property

Gets the hour, minute, and second at which the time change occurs.

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

public:
property DateTime TimeOfDay {
	DateTime get ();
}

Property Value

Type: System::DateTime
The time of day at which the time change occurs.

The TimeOfDay property defines only the time of a time change, but not its date. The date is determined by the Month and Day properties for fixed-rule changes, and by the Month, Week, and DayOfWeek properties for floating-rule changes.

The TimeOfDay property is used for both fixed-date and floating-date transitions.

The following example enumerates the time zones found on the local computer and displays transition time information for those time zones that have adjustment rules. The time information includes the time of day at which the time change occurs.

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

.NET Framework

Supported in: 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: