Add comparison for dates, as well as time only functionality.