[#BloombergLP-bdlt-LocalTimeOffset-localTimeOffsetDefault] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/LocalTimeOffset.adoc[LocalTimeOffset]::localTimeOffsetDefault :relfileprefix: ../../../ :mrdocs: Provide the default local‐time‐offset callback implementation. == Synopsis Declared in `<bdlt_localtimeoffset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] localTimeOffsetDefault(xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& utcDatetime); ---- == Description Return a `bsls::TimeInterval` value representing the difference between local time and UTC time at the specified `utcDatetime`. Note that the local time zone is determined by the `TZ` environment variable in the same manner as the `localtime` POSIX function. == Return Value the difference between local time and UTC at `utcDatetime` == Parameters [cols="1,4"] |=== | Name| Description | *utcDatetime* | UTC date and time at which to compute the offset |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#