Days Between Dates
Pick a date pair to see how many days, weeks, months, and years lie between them, with code samples in JavaScript, Python, and Bash.
- January 1, 2024 and December 31, 2024
- January 1, 2025 and December 31, 2025
- January 1, 2026 and December 31, 2026
- January 1, 2020 and January 1, 2025
- January 1, 2000 and January 1, 2025
- January 1, 1970 and today
- Y2K and the Y2038 Problem
- End of WWII and today
- Moon landing and today
- Fall of the Berlin Wall and today
- First iPhone launch and today
- WHO declares COVID pandemic and today
- Christmas Day and New Year's Day
- Thanksgiving and Christmas 2025
- Summer solstice and winter solstice 2025
- Easter 2025 and Easter 2026
- two dates one year apart
- two dates one decade apart
- two dates one century apart
- Feb 1 and Mar 1 in a leap year