Return the local time offset from UTC at the specified date and time.
Declared in <bdlt_localtimeoffset.h>
static
bsls::TimeInterval
localTimeOffset(Datetime const& utcDatetime);
Return a bsls::TimeInterval value representing the difference between local time and UTC time at the specified utcDatetime. This method uses the currently installed local-time-offset callback mechanism.
the difference between local time and UTC at utcDatetime
| Name | Description |
|---|---|
| utcDatetime | UTC date and time at which to compute the offset |