[#BloombergLP-bdlt-Datetime-2constructor-0ca]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Datetime.adoc[Datetime]::Datetime
:relfileprefix: ../../../
:mrdocs:

Create a `Datetime` object whose &quot;date&quot; part has the value of the specified `date` and whose &quot;time&quot; part has the value &quot;00&colon;00&colon;00&period;000000&quot;&period;

== Synopsis

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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *date*
| date part of the new value
|===


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