<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getBirthdate(self, string=True):
 """ Returns the birthdate as string object Parameters None Examples -------- True """


        if string:
            return self._convert_string(self.birthdate.rstrip())
        else:
            return datetime.strptime(self._convert_string(self.birthdate.rstrip()), "%d %b %Y")