Date calculator
Add or subtract years, months, weeks, and days from a starting date with the clamping rule kept visible.
What this calculator covers
Use this date calculator when the shift mixes calendar units, such as adding months and weeks in the same request. The result keeps the starting date, the requested offset, and the target date visible together.
Month and year moves clamp to the last valid day when the destination month is shorter, which avoids hidden rollover behavior on dates like the 29th, 30th, or 31st.
Frequently asked questions
- In what order are the mixed units applied?
- Years are applied first, then months, then weeks, then days. Each step uses the result of the previous one, so the clamping rule on month-end dates is applied at the month step before the week and day adjustments run.
- What if I only want to add days and leave the other fields at zero?
- Set years, months, and weeks to zero and enter only the day count. Fields set to zero are skipped and leave the date unchanged.
- How is this different from the date add/subtract calculator?
- This tool accepts up to four unit fields at once, making it better for requests like adding one year, two months, and five days together. The simpler add/subtract tool is faster when the request is a single unit only.
- Can I subtract a date mix such as minus 2 years and 3 months?
- Yes. Set the operation to subtract and all four unit fields apply in the negative direction together.
Tool
Run the calculation
Result
RESULT · TARGET DATE
â„–059
Primary result
Mar 17, 2025
Add 1 year, 1 month, 2 weeks, 3 days from Jan 31, 2024 to land on Mar 17, 2025.
- Start date
- Jan 31, 2024
- Adjustment
- Add 1 year, 1 month, 2 weeks, 3 days
- Result date
- Mar 17, 2025
- Elapsed day change
- 411 days
Step-by-step solution
- 1.Start from Jan 31, 2024 and break the request into 1 year, 1 month, 2 weeks, 3 days.
- 2.Apply year and month shifts first with calendar clamping so shorter months still land on a valid date.
- 3.Apply the remaining week and day shifts to finish on Mar 17, 2025, which is 411 days away.
Walkthrough
Visual walkthrough
Mixed-unit date shifts are easiest to audit when the calendar order stays explicit.
01
Start with the anchor date
Jan 31, 2024
The calculation always begins from the provided calendar date before any offsets are applied.
02
Apply the mixed-unit offset
Add 1 year, 1 month, 2 weeks, 3 days
Years and months are clamped first so the date stays valid even when the target month is shorter.
03
Read the target date
Mar 17, 2025
The finished offset moves the calendar by 411 elapsed days overall.
Mar 17, 2025