Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

moment js year only

moment().year(Number);
moment().year(); // Number
moment().years(Number);
moment().years(); // Number
Source by momentjs.com #
 
PREVIOUS NEXT
Tagged: #moment #js #year
ADD COMMENT
Topic
Name
5+8 =