最終更新:2014-05-25 (日) 18:16:15 (3595d)
Moment.js
Top / Moment.js
A 5.5kb javascript date library for parsing, validating, manipulating, and formatting dates.
時間関連の処理を強力にサポート
例
moment().format('MMMM Do YYYY, h:mm:ss a'); //2月 14 2013, 6:16:16 午前 moment().format('dddd'); //木曜日 moment().format("MMM Do YY"); //2月 14 13 moment().format('YYYY [escaped] YYYY'); //2013 escaped 2013 moment().format(); //2013-02-14T06:16:38+09:00
メモ
- 日本語対応