Returns whether the given date is same day with the comparison date
Optional
the date to check
the date to compare
whether compare deeply with year
whether the given date is same day with the comparison date
isSameDay(new Date(), new Date()); // true Copy
isSameDay(new Date(), new Date()); // true
Returns whether the given date is same day with the comparison date