[#BloombergLP-ball-FileObserver2-enablePublishInLocalTime] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/FileObserver2.adoc[FileObserver2]::enablePublishInLocalTime :relfileprefix: ../../../ :mrdocs: Enable publishing of the timestamp attribute of records in local time by this file observer. This method has no effect if publishing in local time is already enabled. Note that this method also affects log filenames (see {Log Filename Patterns}). == Synopsis Declared in `<ball_fileobserver2.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void enablePublishInLocalTime(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#