Adds a specified number of days to a date.
The input date.
The number of days to add.
A new Date with days added.
addDays(new Date('2025-07-23'), 5); // → 2025-07-28 Copy
addDays(new Date('2025-07-23'), 5); // → 2025-07-28
Adds a specified number of days to a date.