[#BloombergLP-balber-BerUtil_DatetimeImpUtil-getDatetimeTzValue] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_DatetimeImpUtil.adoc[BerUtil_DatetimeImpUtil]::getDatetimeTzValue :relfileprefix: ../../../ :mrdocs: Read the specified `length` number of bytes from the input sequence of the specified `streamBuf` and load to the specified `value` the date, time, and time zone value represented those bytes. Return 0 on success, and a non‐zero value otherwise. The operation succeeds if `length` bytes are successfully read from the input sequence of the `streamBuf` without the read position becoming unavailable, and the bytes contain a valid representation of a date, time, and time zone value. See the package‐level documentation of {`balber`} for a description of the decision procedure used to detect the encoding format for a `bdlt::Datetime` value. == Synopsis Declared in `<balber_berutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int getDatetimeTzValue( xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz]* value, std::streambuf* streamBuf, int length); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#