[#BloombergLP-bdlt-PosixDateImpUtil-isValidYearMonthDay] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/PosixDateImpUtil.adoc[PosixDateImpUtil]::isValidYearMonthDay :relfileprefix: ../../../ :mrdocs: Return whether `year`/`month`/`day` is a valid POSIX calendar date. == Synopsis Declared in `<bdlt_posixdateimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool isValidYearMonthDay( int year, int month, int day); ---- == Description Return `true` if the specified `year`, `month`, and `day` represents a valid date value, and `false` otherwise. Note that valid date values are (as fully defined in the component‐level documentation) in the range `[ 0001/01/01 .. 9999/12/31 ]` (except that `[ 1752/09/03 .. 1752/09/13 ]` are not valid for historical reasons). == Return Value `true` if valid, `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *year* | calendar year | *month* | month of year | *day* | day of month |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#