[#BloombergLP-bdlt-LocalTimeOffset-LocalTimeOffsetCallback-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/LocalTimeOffset.adoc[LocalTimeOffset]::LocalTimeOffsetCallback
:relfileprefix: ../../../
:mrdocs:

Callback function type that returns the local time offset from UTC&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;localtimeoffset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval](* LocalTimeOffsetCallback)(xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const&);
----

== Description

`LocalTimeOffsetCallback` is an alias for the type of a function that returns a `bsls&colon;&colon;TimeInterval` value representing the difference between local time and UTC time at the specified `utcDatetime`&period; This function must be thread&hyphen;safe in multi&hyphen;threaded builds&period; Note that the installed callback function must have geographic information specifying the local timezone&period;


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