GetDaysInMonth
Returns the number of days in the specified month.
Public Function GetDaysInMonth(
ByVal Year As Long,
ByVal Month As Long,
Optional ByRef Era As Variant ) As Long
Parameters
- Year
-
[ByVal]
Long.
The year inwhich the month exists. This is used by calendars that
have months that change based on the year, such as leap years.
- Month
-
[ByVal]
Long.
The month to retrieve the number of days of.
- Era
-
[ByRef]
Optional.
Variant.
The time period inwhich the year exists.
Return Values
Long -
See Also
Project CorLib Overview
Class GregorianCalendar Overview