[#BloombergLP-bbldc-BasicIsda11-daysDiff]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bbldc.adoc[bbldc]::xref:BloombergLP/bbldc/BasicIsda11.adoc[BasicIsda11]::daysDiff
:relfileprefix: ../../../
:mrdocs:

Return the (signed) number of days between the specified `beginDate` and `endDate` according to the ISDA 1&sol;1 day&hyphen;count convention&period; If `beginDate &lt; endDate`, then the result is one&period; If `beginDate &equals;&equals; endDate`, then the result is zero&period; Note that reversing the order of `beginDate` and `endDate` negates the result&period;

== Synopsis

Declared in `&lt;bbldc&lowbar;basicisda11&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
daysDiff(
    xref:BloombergLP/bdlt/Date.adoc[bdlt::Date] const& beginDate,
    xref:BloombergLP/bdlt/Date.adoc[bdlt::Date] const& endDate);
----


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