[#BloombergLP-bdlt-DateUtil-convertToYYYYMMDD]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DateUtil.adoc[DateUtil]::convertToYYYYMMDD
:relfileprefix: ../../../
:mrdocs:

Return the &quot;YYYYMMDD&quot; integer encoding of the specified `date`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
convertToYYYYMMDD(xref:BloombergLP/bdlt/Date.adoc[Date] const& date);
----

== Return Value

integer in YYYYMMDD form

== Parameters

[cols="1,4"]
|===
| Name| Description
| *date*
| date to encode
|===


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