[#BloombergLP-ball-FileObserver-localTimeOffset] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/FileObserver.adoc[FileObserver]::localTimeOffset :relfileprefix: ../../../ :mrdocs: Return the local‐minus‐UTC offset captured at construction. == Synopsis Declared in `<ball_fileobserver.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/DatetimeInterval.adoc[bdlt::DatetimeInterval] localTimeOffset() const; ---- == Description Return the difference between the local time and UTC time in effect when this file observer was constructed. Note that this value remains unchanged during the lifetime of this object and therefore may become incorrect when the difference between the local time and UTC time changes (e.g., when transitioning into or out of daylight savings time). DEPRECATED: Use `bdlt::LocalTimeOffset` instead. == Return Value local‐minus‐UTC offset captured at construction [.small]#Created with https://www.mrdocs.com[MrDocs]#