BloombergLP::bdlt::operator-

Return the (signed) number of days between the specified lhs and rhs dates. Note that if lhs < rhs the result will be negative.

Synopsis

Declared in <bdlt_date.h>

int
operator-(
    Date const& lhs,
    Date const& rhs);