Answers for "get 2 days before date in javascript"

0

javascript get 7 days from now

var date = new Date();
date.setDate(date.getDate() - 13);

console.log(date);
Posted by: Guest on March-11-2020

Code answers related to "get 2 days before date in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language