[#BloombergLP-bdlt-CurrentTime-asDatetimeTz] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/CurrentTime.adoc[CurrentTime]::asDatetimeTz :relfileprefix: ../../../ :mrdocs: Return the current local date/time with its UTC offset. == Synopsis Declared in `<bdlt_currenttime.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdlt/DatetimeTz.adoc[DatetimeTz] asDatetimeTz(); ---- == Description Return the `DatetimeTz` value representing the current date/time in the local time zone, and the local time zone's offset from UTC, as provided by the installed callback function and the facilities of `LocalTimeOffset`. == Return Value the current local date/time with its UTC offset [.small]#Created with https://www.mrdocs.com[MrDocs]#