[#BloombergLP-bdlt-operator_minus-00f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator&hyphen;
:relfileprefix: ../../
:mrdocs:

Return the (signed) number of days between the specified `lhs` and `rhs` dates&period; Note that if `lhs &lt; rhs` the result will be negative&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;date&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
operator&hyphen;(
    xref:BloombergLP/bdlt/Date.adoc[Date] const& lhs,
    xref:BloombergLP/bdlt/Date.adoc[Date] const& rhs);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
