[#BloombergLP-balcl-CommandLine-theDatetime] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLine.adoc[CommandLine]::theDatetime :relfileprefix: ../../../ :mrdocs: Return a `const` reference to the value of the option having the specified `name`. The behavior is undefined unless this command‐line object `isParsed()`, `hasOption(name)`, `OptionType::e_DATETIME == type(name)`, and `hasValue(name)`. == Synopsis Declared in `<balcl_commandline.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& theDatetime(std::string_view const& name) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#