Days Between Feb 1 and Mar 1 in a leap year

Demonstrates that February has 29 days in leap years. Computed below across multiple units; if either date is "today", the page reflects the build date.

February 1, 2024 → March 1, 2024

29 days

In Other Units

Total seconds2,505,600
Total hours696
Total days29
Total weeks4.1
Total months (calendar)1
Total years (calendar)0

How to Calculate This in Code

JavaScript (with day.js)

dayjs('2024-03-01').diff(dayjs('2024-02-01'), 'day')
// 29

Python

from datetime import date
(date(2024, 3, 1) - date(2024, 2, 1)).days
# 29

Bash (GNU date)

echo $(( ($(date -d '2024-03-01' +%s) - $(date -d '2024-02-01' +%s)) / 86400 ))
# 29
Need the full converter? Open the Timestamp Converter →