[#BloombergLP-bdlt-operator_minus-00f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator‐ :relfileprefix: ../../ :mrdocs: Return the signed number of days between two dates. == Synopsis Declared in `<bdlt_date.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int operator‐( xref:BloombergLP/bdlt/Date.adoc[Date] const& lhs, xref:BloombergLP/bdlt/Date.adoc[Date] const& rhs); ---- == Description Return the (signed) number of days between the specified `lhs` and `rhs` dates. Note that if `lhs < rhs` the result will be negative. == Return Value number of days from `rhs` to `lhs` == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand date operand | *rhs* | right‐hand date operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#