Answers for "get current dat js"

17

return current date in javascript

let today = new Date().toLocaleDateString()

console.log(today)
Posted by: Guest on March-01-2020
0

get current date + 1 js

var date = new Date();
date.setDate(date.getDate() + 1);
Posted by: Guest on October-12-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language