[#BloombergLP-bdlt-LocalTimeOffset-setLocalTimeOffsetCallback] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/LocalTimeOffset.adoc[LocalTimeOffset]::setLocalTimeOffsetCallback :relfileprefix: ../../../ :mrdocs: Set the specified `callback` as the function to be used to return a `bsls::TimeInterval` value representing the difference between local time and UTC time at a specified UTC date and time. Return the previously installed `LocalTimeOffsetCallback` function. The behavior is undefined unless `0 != callback`. == Synopsis Declared in `<bdlt_localtimeoffset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdlt/LocalTimeOffset/LocalTimeOffsetCallback-08.adoc[LocalTimeOffset::LocalTimeOffsetCallback] setLocalTimeOffsetCallback(xref:BloombergLP/bdlt/LocalTimeOffset/LocalTimeOffsetCallback-08.adoc[LocalTimeOffsetCallback] callback); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#