Section: Dates and Time

Add days

javascript
javascript
const nextWeek = new Date(Date.now() + 7 * 24 * 60 * 60 * 1000);

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Dates and Time
Date.now
OpenIn sheetjavascriptsame section
Create Date
OpenIn sheetjavascriptsame section
toISOString
OpenIn sheetjavascriptsame section
Intl.DateTimeFormat
OpenIn sheetjavascriptsame section
Intl.NumberFormat
OpenIn sheetjavascriptsame section