[#BloombergLP-baltzo-LocalTimeOffsetUtil-localTimeOffset] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/LocalTimeOffsetUtil.adoc[LocalTimeOffsetUtil]::localTimeOffset :relfileprefix: ../../../ :mrdocs: Return the offset of the local time from UTC for the specified `utcDatetime`. This function is thread‐safe. The behavior is undefined unless the local time zone has been previously established by a call to the `configure` method. This method _is_ thread‐safe. == Synopsis Declared in `<baltzo_localtimeoffsetutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] localTimeOffset(xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& utcDatetime); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#