code: def usesTime(self, fmt=None):
          '''
          Check if the format uses the creation time of the record.
          '''
          if fmt is None:
              fmt = self._fmt
          if not isinstance(fmt, basestring):
              fmt = fmt[0]
          return fmt.find('%(asctime)') >= f usesTime(self, fmt=None):
          '''
          Check if the format uses the creation time of the record.
          '''
          if fmt is None:
              fmt = self._fmt
          if not isinstance(fmt, basestring):
              fmt = fmt[0]
          return fmt.find('%(asctime)') >= 0
docs: Check if the format uses the creation time of the record.