Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert moment to date in nodejs

moment( moment().utc().format( "YYYY-MM-DD HH:mm:ss" )).toDate()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #moment #date #nodejs
ADD COMMENT
Topic
Name
5+5 =