Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment string to date convert node js

var date = moment("2014-02-27T10:00:00").format('DD-MM-YYYY');
 
PREVIOUS NEXT
Tagged: #moment #string #date #convert #node #js
ADD COMMENT
Topic
Name
7+9 =