ADVERT
Date Math
Add or subtract years, months, days, hours, and minutes from a date. Quick online date calculator.
How to use this tool
- Set a base local date/time or use the default current timestamp.
- Add positive or negative offsets for years, months, days, hours, and minutes.
- Copy results in ISO, local datetime, or Unix epoch formats as needed.
Useful scenarios
- Calculate project deadlines and notice periods quickly.
- Forecast renewal, billing, and expiry dates with combined offsets.
- Generate automation timestamps for scripts and operational runbooks.
Calculation notes
- Negative offset values move backward in time from the base date.
- Luxon handles leap years and daylight saving transitions for local contexts.
- Invalid base input produces no result until a parseable datetime is provided.
FAQ
- Can I subtract dates and times?
- Yes. Enter negative numbers for any offset field to subtract that unit.
- How are daylight saving changes handled?
- Luxon applies timezone and DST rules when producing localized results.
- Can I copy machine-readable output?
- Yes. Use the ISO or Unix epoch cards for script-friendly values.
ADVERT
ADVERT