Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
intGetMonth()const;
Remarks
Returns the month, based on local time, in the range 1 through 12 (1 = January). 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.
Example
See the example for GetDay.