Answers for "how retrieve todays date using javascript"

17

return current date in javascript

let today = new Date().toLocaleDateString()

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

current date jquery and current day

$( "#datepicker" ).datepicker({dateFormat:"yy/mm/dd"}).datepicker("setDate",new Date());
Posted by: Guest on November-02-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language