[#BloombergLP-bdlt-ProlepticDateImpUtil-ydToDay] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/ProlepticDateImpUtil.adoc[ProlepticDateImpUtil]::ydToDay :relfileprefix: ../../../ :mrdocs: Return the day of the month for the specified year and day‐of‐year. == Synopsis Declared in `<bdlt_prolepticdateimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int ydToDay( int year, int dayOfYear); ---- == Description Return the day (of the month) of the date value indicated by the specified `year` and `dayOfYear`. The behavior is undefined unless `isValidYearDay(year, dayOfYear)` returns `true`. == Return Value day of month == Parameters [cols="1,4"] |=== | Name| Description | *year* | calendar year | *dayOfYear* | day of year |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#