Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

format Date in javascript

var todayDate = new Date().toISOString().slice(0, 10);
console.log(todayDate);
 Run code snippet
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #format #Date #javascript
ADD COMMENT
Topic
Name
5+9 =