Answers for "javasript format datea object to dd/mm/yy"

4

javascript format date yyyy-mm-dd

let today = new Date()
today.toISOString().split('T')[0]
Posted by: Guest on August-27-2020
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"

Browse Popular Code Answers by Language