This documentation is archived and is not being maintained.

HourOfDay Enumeration

Indicates the hour of the day.

Namespace:  System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public enum HourOfDay

Member nameDescription
Zero12:00 A.M. (midnight)
One1:00 A.M.
Two2:00 A.M.
Three3:00 A.M.
Four4:00 A.M.
Five5:00 A.M.
Six6:00 A.M.
Seven7:00 A.M.
Eight8:00 A.M.
Nine9:00 A.M.
Ten10:00 A.M.
Eleven11:00 A.M.
Twelve12:00 P.M. (noon)
Thirteen1:00 P.M.
Fourteen2:00 P.M.
Fifteen3:00 P.M.
Sixteen4:00 P.M.
Seventeen5:00 P.M.
Eighteen6:00 P.M.
Nineteen7:00 P.M.
Twenty8:00 P.M.
TwentyOne9:00 P.M.
TwentyTwo10:00 P.M.
TwentyThree11:00 P.M.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, 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.