BloombergLP::bdlt::CurrentTime::asDatetimeTz

Return the current local date/time with its UTC offset.

Synopsis

Declared in <bdlt_currenttime.h>

static
DatetimeTz
asDatetimeTz();

Description

Return the DatetimeTz value representing the current date/time in the local time zone, and the local time zone's offset from UTC, as provided by the installed callback function and the facilities of LocalTimeOffset.

Return Value

the current local date/time with its UTC offset