Date comparison functions

Date comparisons provide a means to determine whether complete or partial dates match.