Add predicate/same-date? function