code: def selection(self):
          
          if not self._selection:
              return None
  
          year, month = self._date.year, self._date.month
          return self.datetime(year, month, int(self._selection[0]))
docs: Return a datetime representing the current selected date.