adding date and time validations