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)') >= 0
Check if the format uses the creation time of the record.