totaldaysinperiod
Total days in period, abbreviated as totaldaysinperiod in some contexts, is a basic metric used in calendar arithmetic to count the number of calendar days between a start date and an end date. The exact count may be defined as inclusive (counting both endpoints) or exclusive (not counting the end date), depending on the domain.
To calculate, establish the start date and the end date. If counting inclusively, totaldaysinperiod equals the
Edge considerations include leap years and time components. For date-only counting, use date values rather than
Applications of totaldaysinperiod include scheduling, project planning, contract lengths, and billing quarters. In finance, it provides
See also: length of period, duration, date arithmetic, and day-count conventions.