Return the current date/time as a time interval from the epoch.

Synopsis

Declared in <bdlt_currenttime.h>

static
bsls::TimeInterval
now();

Description

Return the TimeInterval value between EpochUtil::epoch() and the current date/time as provided by the installed callback function. Note that this value is independent of time zone.

Return Value

the current time as an interval from the epoch

Created with MrDocs