Answers for "javascript output date format dd-mm-yyyy"

1

js date now format

new Date().toJSON()
// "2021-01-12T01:06:54.747Z"
Posted by: Guest on January-12-2021
1

javascript date format mm/dd/yyyy

var date_format = new Date();

document.write(innerHTML = date_format.getMonth()+'/'+ date_format.getDate()+'/'+date_format.getFullYear());
Posted by: Guest on July-05-2020

Code answers related to "javascript output date format dd-mm-yyyy"

Code answers related to "Javascript"

Browse Popular Code Answers by Language