1 Day Ago
What date is 1 day before today? The answer below was computed when this page was built; the live answer changes daily, so use the formula or the worked examples for any date you choose.
As of build time (April 27, 2026)
Sunday, April 26, 2026
Unix timestamp: 1777161600 · ISO 8601: 2026-04-26T00:00:00Z
Worked Examples From Reference Dates
| Start Date | 1 day before | Unix Timestamp |
|---|---|---|
| January 1, 2024 | Sunday, December 31, 2023 | 1703980800 |
| July 4, 2024 | Wednesday, July 3, 2024 | 1719964800 |
| January 1, 2025 | Tuesday, December 31, 2024 | 1735603200 |
| June 15, 2025 | Saturday, June 14, 2025 | 1749859200 |
| January 1, 2026 | Wednesday, December 31, 2025 | 1767139200 |
How to Calculate This Yourself
JavaScript (with day.js)
dayjs().subtract(1, 'day').format('YYYY-MM-DD')
Python
from datetime import date, timedelta result = date.today() - timedelta(days=1)
Bash (GNU date)
date -d "-1 days" +"%Y-%m-%d"