[#BloombergLP-bdlt-Date-getYearDay]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Date.adoc[Date]::getYearDay
:relfileprefix: ../../../
:mrdocs:

Load, into the specified `year` and `dayOfYear`, the respective `year` and `dayOfYear` attribute values of this date&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;date&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
getYearDay(
    int* year,
    int* dayOfYear) const;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *year*
| receives the year attribute
| *dayOfYear*
| receives the day&hyphen;of&hyphen;year attribute
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
