debugging compare dates