[#BloombergLP-bdld-Datum-createDatetimeInterval] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/Datum.adoc[Datum]::createDatetimeInterval :relfileprefix: ../../../ :mrdocs: Return, by value, a datum holding the specified `DatetimeInterval` `value`, using the specified `allocator` to supply memory (if needed). == Synopsis Declared in `<bdld_datum.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdld/Datum.adoc[Datum] createDatetimeInterval( xref:BloombergLP/bdlt/DatetimeInterval.adoc[bdlt::DatetimeInterval] const& value, xref:BloombergLP/bdld/Datum/AllocatorType.adoc[AllocatorType] const& allocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#