Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment time format for created_at

moment("2010-01-01T05:06:07", moment.ISO_8601);
moment("2010-01-01T05:06:07", ["YYYY", moment.ISO_8601]);
Source by momentjs.com #
 
PREVIOUS NEXT
Tagged: #moment #time #format
ADD COMMENT
Topic
Name
5+1 =