結果 : check if two dates are same day javascript