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

Return the (signed) number of days between two dates&period;

== Synopsis

Declared in `&lt;bbldc&lowbar;basicactual365fixed&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);
----

== Description

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

== Return Value

the signed number of days between `beginDate` and `endDate`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *beginDate*
| start of the date range
| *endDate*
| end of the date range
|===


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