code: def formatted_date(self, fmt: str = '', **kwargs) -> str:
          
          date_obj = self.date(**kwargs)
  
          if not fmt:
              fmt = self._data['formats'].get('date')
  
          return date_obj.strftime(fmt)
docs: Generate random date as string.
  
          :param fmt: The format of date, if None then use standard
              accepted in the current locale.
          :param kwargs: Keyword arguments for :meth:`~Datetime.date()`
          :return: Formatted date.