[#BloombergLP-ball-UserFieldValue-theDatetimeTz] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/UserFieldValue.adoc[UserFieldValue]::theDatetimeTz :relfileprefix: ../../../ :mrdocs: Return a reference providing non‐modifiable access to the `DatetimeTz` value of this object. The behavior is undefined unless `type() == ball::UserFieldType::e_DATETIMETZ`. == Synopsis Declared in `<ball_userfieldvalue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz] const& theDatetimeTz() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#