Date & Time

Date Shift Calculator — Add or Subtract Y/M/D/H/M/S

Shift a start date-time by years, months, days, hours, minutes, and seconds to get a target moment. Outputs ISO 8601, local string, relative description, and Unix timestamps for expiry and TTL planning.

DateOffsetCalculator

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Move a due date by several days and verify the result
  • Project credential expiry from a TTL
  • Walk backward several weeks from today to find a start

How to use

  1. Set a start time or use now
  2. Choose add or subtract and fill the offset units
  3. Review the target time and copy the result

Example input and output

Start and offset

Now + 30 days

Target

ISO 8601 target date-time

FAQ

How are month ends and leap years handled?

Offsets use the browser Date API, so month lengths and leap years follow the runtime rules.

Can I shift only hours without changing days?

Yes. Each unit is independent—leave unused fields at zero.

Tools

Related tools

Continue with another translated tool for a nearby task.

Cron Expression Parser

Cron Parser — Explain 5-Field Expressions

Available

Parse common 5-field Cron expressions in your browser. Breaks down minute, hour, day, month, and weekday fields into readable explanations for ops debugging and schedule review.

Cron Scheduler Parser

Timestamp Converter

Unix Timestamp Converter Online

Available

Convert Unix timestamps and date-times in your browser. Supports seconds, milliseconds, and microseconds with auto-detection, shows local and UTC time side by side, and can generate a timestamp from a date picker for log triage and API debugging.

Timestamp Date Developer