Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「2013 年 4 月 9 日」を日付に変換して、if (stardate < enddate) { //do this } else {} のように開始日と終了日を比較できるようにします。MM/DD/YYYY形式に変換したいです。
JavaScript で日付を操作するのは非常に困難です。moment.js ライブラリを使用することを強くお勧めします
http://momentjs.com/