Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js date format mm/dd/yyyy

const date = new Date().toLocaleDateString()
console.log(date)

/*
	Output : "5/17/2022"
*/
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #date #format
ADD COMMENT
Topic
Name
5+6 =