Return the serial date for the specified year, month, and day.
Declared in <bdlt_prolepticdateimputil.h>
static
int
ymdToSerial(
int year,
int month,
int day);
Return the serial date representation of the date value indicated by the specified year, month, and day. The behavior is undefined unless isValidYearMonthDay(year, month, day) returns true.
serial date representation
| Name | Description |
|---|---|
| year | calendar year |
| month | month of year |
| day | day of month |