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

Return `true` if the specified `year`, `month`, and `day` represent a valid value for a `Date` object, and `false` otherwise&period; `year`, `month`, and `day` represent a valid `Date` value if they correspond to a valid date as defined by the Unix (POSIX) calendar confined to the year range `&lsqb;1 &period;&period; 9999&rsqb;` inclusive&period; See &lcub;Valid Date Values and Their Representations&rcub; for details&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
isValidYearMonthDay(
    int year,
    int month,
    int day);
----


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