Unfortunately, this is incorrect, although it was for a mere 40 to 44 days, depending upon the account one reads.
Actually it may be technically correct.
Boot Camp (USMC) is three months or approx 90 days. You are not considered a Marine nor are you called a Marine until graduation day.
Not sure about the Army.
I would not mind being corrected. I don't think what McBeth did or had in mind was "service" to this country.