[#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&period; 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&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;datetimetz&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlt/Datetime.adoc[Datetime]
localDatetime() const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
