It's the present perfect continuous tense, apparently, and can be used either to tell something that is continuing to happen or to refer to something that has stopped recently but is immediately relevant to what you are saying
Thank you very much for the link, Dave. Are these sentences correct?
When you know that she is not in the military any more, 1. How long was she in the military? 2. Was she in the military for three years? 3. Was she in the military since 2010?