Check end date