Date Difference Calculator
Days, weeks and months between two dates. TOTAL DAYS = end_date - start_date (exclusive of end date); WEEKS = TOTAL DAYS / 7 (rounded to 1 decimal place); MONTHS = (end_date.year - start_date.year) * 12 + (end_date.month - start_date.month); YEARS = MONTHS / 12 (rounded to 2 decimal places); WORKING DAYS (MON-FRI) = count of weekdays between start_date and end_date (inclusive of end date) HOW IT WORKS No — the count is exclusive of the end date, matching how most contract and project deadlines are counted. Add one day if you need an inclusive count. Validation: End date must be greater than start date; Working days calculation seems to be inclusive of the end date in the example (174 days instead of 173) despite the FAQ stating it is exclusive.