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