148
rated 0 times
[
153]
[
5]
/ answers: 1 / hits: 83330
/ 9 Years ago, fri, march 27, 2015, 12:00:00
I want to get all months name from year in moment.js
if the year is 2011
, then i want to all months name in momentjs
i have tried this below code, but it's not working for me.
var xxx = moment().months(2011);
Showing result is
also i have tried xxx.months()
, but it's return result is 7
but i want jan,feb,mar,......dec
. hmm What can i do?
More From » momentjs