Return the latest date in the specified month of the specified year. The behavior is undefined unless 1 <= year <= 9999 and 1 <= month <= 12.
Synopsis
Declared in <bdlt_dateutil.h>
static
Date
lastDayInMonth(
int year,
int month);
Return Value
last day of the month
Parameters
Name |
Description |
year |
calendar year |
month |
month of year in |
Created with MrDocs