[#BloombergLP-bdld-Datum-theDatetime]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/Datum.adoc[Datum]::theDatetime
:relfileprefix: ../../../
:mrdocs:

Return the datetime value held by this object&period;

== Synopsis

Declared in `&lt;bdld&lowbar;datum&period;h&gt;`

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

== Description

Return the date&plus;time value represented by this object as a `bdlt&colon;&colon;Datetime` object&period; The behavior is undefined unless this object actually represents date&plus;time value&period;

== Return Value

the datetime value held by this object


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