if (0 > $day || $day > (int)date('Y')) { $this->validation->set_message('validate_birthday', 'Invalid year in birthdate.'); return false; }