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

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

== Synopsis

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

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

== Parameters

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


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