code: def month_to_year(timeperiod):
      
      t = datetime.strptime(timeperiod, SYNERGY_MONTHLY_PATTERN)
      return t.strftime(SYNERGY_YEARLY_PATTERN)
docs: :param timeperiod: as string in YYYYMM0000 format
      :return string in YYYY000000 format