AfxWeeksInMonthfunction
Returns the number of weeks in the specified month. Will be 4 or 5.
Syntax
FUNCTION AfxWeeksInMonth (BYVAL nMonth AS LONG, BYVAL nYear AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
nMonth | A month number (1-12). | |
nYear | A four digit year. |
Description
Returns the number of weeks in the specified month. Will be 4 or 5.
Reference
- Include file
AfxTime.inc - Defined in AfxNova/AfxTime.inc:558
- Documented in DateTime/DateTime Procedures.md
- Topic: Date and Time Procedures