Move a timestamp by selected calendar components in the browser’s local time zone.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Years, months, days, hours, minutes, and seconds are applied in sequence with the corresponding local Date setters. ECMAScript normalizes overflow, so changing the month field can carry surplus days into the following month.
Input: 2025-01-15T00:00:00Z Months: 1
Original: 2025-01-15T00:00:00.000Z Result: 2025-02-15T00:00:00.000Z
Renewal dates advance by calendar months, reminders move by local days and hours, and test suites explore JavaScript Date overflow.