Easy Dates

Add Days

Receives one calendar date and a signed day count as one comma-separated string (YYYY-MM-DD,±N) and returns the resulting date. It converts the start date to its UTC epoch-millisecond instant, shifts it by the given number of days, and formats the shifted instant back to ISO 8601. Handles day, month and year rollover automatically, including leap years — adding or subtracting enough days can cross February 29th, month-end, or a year boundary.

Visualization

Input

Algorithm code

Custom input

Saved inputs

References