code: def time2fname(tstamp, full=False):
      
      result = tstamp.strftime(FILENAME_FORMAT)
      result = result if not full else join(time2dir(tstamp), result)
      return result
docs: Return full path to filename prefix (i.e. without dot extension)
      represented by given :class:`datetime.datetime` object.