[#BloombergLP-bdlt-PosixDateImpUtil-ymdToSerial] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/PosixDateImpUtil.adoc[PosixDateImpUtil]::ymdToSerial :relfileprefix: ../../../ :mrdocs: Return the serial date representation of the date value indicated by the specified `year`, `month`, and `day`. The behavior is undefined unless `true == isValidYearMonthDay(year, month, day)`. == Synopsis Declared in `<bdlt_posixdateimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int ymdToSerial( int year, int month, int day); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#