[#BloombergLP-bdlt-Datetime-2constructor-07]
= 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; and &quot;time&quot; parts have the values of the specified `date` and `time`, respectively&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,
    xref:BloombergLP/bdlt/Time.adoc[Time] const& time);
----


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