[#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`&period; This function is thread&hyphen;safe&period; The behavior is undefined unless the local time zone has been previously established by a call to the `configure` method&period; This method _is_ thread&hyphen;safe&period;

== Synopsis

Declared in `&lt;baltzo&lowbar;localtimeoffsetutil&period;h&gt;`

[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]#
