If you have a moment object you can use add and substract to manipulate it ... moment("2016-01-01").month(4).day(5).format('YYYY-MM-DD') // -> "2016-05-06" ...
確定! 回上一頁