Two different animals... Longevity for pay which would be from the date you signed your first enlistment contract (assuming no break in service and IRR is not a break). Longevity for retirement which would be active duty time.