def obtain_archive_year

      if get_type_by_url == 'AR'
        segments = params[:slug].split('/')
        str = ''
        str = (get_date_name_by_number(segments[2].to_i) + ' ') if !segments[2].blank?
        str += segments[1]
      end

    end
def obtain_archive_year

      if get_type_by_url == 'AR'
        segments = params[:slug].split('/')
        str = ''
        str = (get_date_name_by_number(segments[2].to_i) + ' ') if !segments[2].blank?
        str += segments[1]
      end

    end
returns the that year/month/day of the current archive