Added checkDate function