compare not IDs but Dates