add time and date validation