[#BloombergLP-bdlt-Datetime-setDate] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Datetime.adoc[Datetime]::setDate :relfileprefix: ../../../ :mrdocs: Set the "date" part of this object to have the value of the specified `date`. Note that this method has no effect on the "time" part of this object. == Synopsis Declared in `<bdlt_datetime.h>` [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]#