2014-07-28
如何找到的month
,year
并day
与moment.js
上面给出的日期格式?
var check = moment(n.entry.date_entered).format("YYYY/MM/DD");
var month = check.getUTCMonth();
var day = check.entry.date_entered.getUTCDate();
var year = check.entry.date_entered.getUTCFullYear();