Returns the number of days in the specified month and year.
Syntax
Smartsite SXML | Copy Code |
---|---|
integer datetime.getdaysinmonth(integer year, integer month) |
Parameters
Name | Data Type | Description |
---|---|---|
year | Integer | The year (1 through 9999). |
month | Integer | The month (1 through 12). |
Return Value
Data Type | Description |
---|---|
Integer | The number of days in the specified month in the specified year. |