[#BloombergLP-bdlt-Timetable-length]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Timetable.adoc[Timetable]::length
:relfileprefix: ../../../
:mrdocs:

Return the number of days in the valid range of this timetable, which is defined to be 0 if this timetable is empty, and `lastDate() &hyphen; firstDate() &plus; 1` otherwise&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
length() const;
----


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