BloombergLP::bdlt::EpochUtil::convertToDatetimeInterval

Return, as a DatetimeInterval, the relative time computed as the difference between the specified absolute datetime and the epoch.

Synopsis

Declared in <bdlt_epochutil.h>

static
DatetimeInterval
convertToDatetimeInterval(Datetime const& datetime);