COleDateTime::GetDayOfWeek

int GetDayOfWeek( ) const;

Return Value

The day of the week represented by the value of this COleDateTime object.

Remarks

Call this member function to get the day of the month represented by this date/time value.

Valid return values range between 1 and 7, where 1=Sunday, 2=Monday, and so on. If the status of this COleDateTime object is not valid, the return value is AFX_OLE_DATETIME_ERROR.

For information on other member functions that query the value of this COleDateTime object, see the following member functions:

COleDateTime OverviewClass MembersHierarchy Chart

See Also   COleDateTime::COleDateTime, COleDateTime::SetDateTime, COleDateTime::operator =, COleDateTime::GetStatus