This method retrieves the day of the week based on local time; 1 = Sunday, 2 = Monday, ..., 7 = Saturday. This method calls GetLocalTm, which uses an internal, statically allocated buffer. The data in this buffer is overwritten as a result of calls to other CTime methods.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
int GetDayOfWeek( ) const;