format('YYYY-MM-DD'); If you are new to moment, have a look at this. It is very easy to use. If you are using npm then just run this command: npm install moment ...
確定! 回上一頁