[#BloombergLP-bdlt-Datetime-setDate]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Datetime.adoc[Datetime]::setDate
:relfileprefix: ../../../
:mrdocs:

Set the &quot;date&quot; part of this object to have the value of the specified `date`&period; Note that this method has no effect on the &quot;time&quot; part of this object&period;

== Synopsis

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

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


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