Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

date in javascript

let daysAdded = 10
let date = new Date(Date.now())
let result = new Date(
  new Date(Date.now()).setDate(date.getDate() + daysAdded)
);
Source by htmlcheatsheet.com #
 
PREVIOUS NEXT
Tagged: #date #javascript
ADD COMMENT
Topic
Name
7+3 =