Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert string to date using moment

const myMomentObject = moment(str, 'YYYY-MM-DD')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #string #date #moment
ADD COMMENT
Topic
Name
7+1 =