[#BloombergLP-bdld-Datum-theDatetimeInterval] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/Datum.adoc[Datum]::theDatetimeInterval :relfileprefix: ../../../ :mrdocs: Return the date+time interval value represented by this object as a `bdlt::DatetimeInterval`. The behavior is undefined unless this object actually represents a date+time interval value. == Synopsis Declared in `<bdld_datum.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/DatetimeInterval.adoc[bdlt::DatetimeInterval] theDatetimeInterval() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#