NETWORKDAYS Function:
From: | To: |
The NETWORKDAYS function calculates the number of working days between two dates, excluding weekends (Saturday and Sunday) and optionally holidays. This calculator provides both total days and business days between two dates.
The calculator uses the following calculations:
Where:
Explanation: The calculation counts all calendar days between two dates (inclusive) and separately counts only weekdays for business days.
Details: Accurate date calculations are crucial for project planning, work scheduling, contract terms, leave calculations, and financial computations like interest accrual.
Tips: Enter valid start and end dates. The calculator will compute both total calendar days and business days (excluding weekends) between these dates.
Q1: Are holidays included in business days?
A: This basic calculator excludes only weekends. For holiday exclusions, you would need to specify holiday dates.
Q2: Does the count include both start and end dates?
A: Yes, both the start and end dates are included in the count.
Q3: What time zone is used for date calculations?
A: The calculations use the dates exactly as entered, without time zone considerations.
Q4: How are partial days handled?
A: The calculator works with whole days only. Any time component is ignored in the calculation.
Q5: What's the maximum date range supported?
A: The calculator can handle any reasonable date range, limited only by PHP's date handling capabilities.