CTime::GetDayOfWeek

int GetDayOfWeek( ) const;

Remarks

Returns the day of the week based on local time; 1 = Sunday, 2 = Monday, ..., 7 = Saturday. This function calls GetLocalTm, which uses an internal, statically allocated buffer. The data in this buffer is overwritten as a result of calls to other CTime member functions.

CTime OverviewClass MembersHierarchy Chart