[#BloombergLP-bdlt-DatetimeTz-localDatetime] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DatetimeTz.adoc[DatetimeTz]::localDatetime :relfileprefix: ../../../ :mrdocs: Return a `Datetime` object having the value of the local datetime represented by this object. Note that the `Datetime` value returned is the current value stored in this object and may be different from the local datetime of the system. == Synopsis Declared in `<bdlt_datetimetz.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/Datetime.adoc[Datetime] localDatetime() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#