[#BloombergLP-ball-StreamObserver-enablePublishInLocalTime]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/StreamObserver.adoc[StreamObserver]::enablePublishInLocalTime
:relfileprefix: ../../../
:mrdocs:

Enable publishing of record timestamps in local time&period;

== Synopsis

Declared in `&lt;ball&lowbar;streamobserver&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
enablePublishInLocalTime();
----

== Description

Enable publishing of the timestamp attribute of records in local time by this stream observer&period; By default, timestamps are published in UTC time&period; Note that this method also affects timestamps for formatters that use them&period;


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