Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Get current date in javascript using moment()

// using moment()
var now	= moment();
let today = now.format('YYYY-MM-DD');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Get #current #date #javascript
ADD COMMENT
Topic
Name
6+2 =