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

Return the year in the range `&lsqb;1 &period;&period; 9999&rsqb;` of this date&period;

== Synopsis

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

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

== Return Value

year in the range `&lsqb;1 &period;&period; 9999&rsqb;`


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