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