Answers for "current date and tome js"

1

javascript current date

var today = new Date();
var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();
Posted by: Guest on February-22-2021

Code answers related to "current date and tome js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language