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