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 developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #date #javascript
ADD COMMENT
Topic
Name
8+6 =