code: def parse_date_created(dct):
      
      date = dct['date-created']
      if date:
          return (int(date['@year']), int(date['@month']), int(date['@day']))
      else:
          return (None, None, None)
docs: Helper function to parse date-created from profile.