[#BloombergLP-bdlt-ProlepticDateImpUtil-ymdToSerial] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/ProlepticDateImpUtil.adoc[ProlepticDateImpUtil]::ymdToSerial :relfileprefix: ../../../ :mrdocs: Return the serial date for the specified year, month, and day. == Synopsis Declared in `<bdlt_prolepticdateimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int ymdToSerial( int year, int month, int day); ---- == Description 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`. == Return Value serial date representation == Parameters [cols="1,4"] |=== | Name| Description | *year* | calendar year | *month* | month of year | *day* | day of month |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#