Days Between First iPhone launch and today
Time since the original iPhone went on sale. Computed below across multiple units; if either date is "today", the page reflects the build date.
June 29, 2007 → today
6,877 days
In Other Units
| Total seconds | 594,172,800 |
|---|---|
| Total hours | 165,048 |
| Total days | 6,877 |
| Total weeks | 982.4 |
| Total months (calendar) | 225 |
| Total years (calendar) | 18 |
How to Calculate This in Code
JavaScript (with day.js)
dayjs('2026-04-27').diff(dayjs('2007-06-29'), 'day')
// 6877
Python
from datetime import date (date(2026, 4, 27) - date(2007, 6, 29)).days # 6877
Bash (GNU date)
echo $(( ($(date -d '2026-04-27' +%s) - $(date -d '2007-06-29' +%s)) / 86400 )) # 6877