code: def date_to_um_dump_date(date):
      
  
      assert(date.month <= 12)
  
      decade = date.year // 10
      # UM can only handle 36 decades then goes back to the beginning.
      decade = decade % 36
      year = date.year % 10
      month = date.month
      day = date.day
  
      um_d = string.digits + string.ascii_letters[:26]
  
      um_dump_date = (
          '{decade}{year}{month}{day}0'.format(
              decade=um_d[decade],
              year=um_d[year],
              month=um_d[month],
              day=um_d[day]
          )
      )
      return um_dump_date
docs: Convert a time date object to a um dump format date which is
      <decade><year><month><day>0
  
      To accommodate two digit months and days the UM uses letters. e.g. 1st oct
      is writing 01a10.