Testing likeness of a date