Added date comparison function.
Added a name to the date compare func.