Added isSameDay

Checks if a date is the same day as a passed date.