Momentjs
isSame関数を使用できます。variscurrentDate= startTime.isSame(new Date()、 'day'); if(iscurrentDate){}ドキュメントを読んだ後:http:// momentjs