System Namespace DateTime Structure
Returns the day of the week represented by this instance.
[ VB ]
<Serializable>
Public ReadOnly Property DayOfWeek As DayOfWeek
[ C# ]
[ Serializable ]
public DayOfWeek DayOfWeek { get; }
[ C++ ]
[ Serializable ]
public: __property DayOfWeek get_DayOfWeek ( );
[ JScript ]
public Serializable
function get DayOfWeek ( ) : DayOfWeek;
A DayOfWeek enumerated constant that indicates the day of the week. This property value ranges from zero, indicating Sunday, to six, indicating Saturday.
DateTime Members Ticks Int32