function validate($v) { if (($v = strtotime($v)) === false) { throw new ValidationException('Could not convert string to a date and time, please use MM/DD/YYYY HH:MM:SS. Your value'); } return parent::validate(); }