Did a bit of searching around and couldn't find an answer to this. At the beginning of ASiP, how long ago has John been invalided from Afghanistan? Do we know, or is this detail left vague?
I think it is never mentioned. Not too long, I would say, since he says he cannot afford London on an army pension.
------------------------------ "To fake the death of one sibling may be regarded as a misfortune; to fake the death of both looks like carelessness." Oscar Wilde about Mycroft Holmes
"It is what it is says love." (Erich Fried)
“Enjoy the journey of life and not just the endgame. I’m also a great believer in treating others as you would like to be treated.” (Benedict Cumberbatch)