date.getTime() -> Number

Therefore this is `datesEqual(Number, Number)` instead of `datesEqual(Date, Date)`