Return a datum holding the specified datetime value.
Synopsis
Declared in <bdld_datum.h>
static
Datum
createDatetime(
bdlt::Datetime const& value,
AllocatorType const& allocator);
Description
Return, by value, a datum having the specified Datetime value, using the specified allocator to supply memory (if needed).
Return Value
a datum holding the specified datetime value
Parameters
Name |
Description |
value |
datetime value to store |
allocator |
memory allocator to use |
Created with MrDocs