system
Given the following post, respond as if you're commenting on Reddit:
human
[space militaries] How do militaries that utilize suspended animation or who don't account for relativity calculate retirement accrual?

In less technologically advanced societies you could be in stasis for years or if you are sloppy with your relativity management you could end up with a private who has been in the military over 40+ years as far as HQ back on earth is concerned.

What about situations where stasis is not part of routine travel like ship wrecks and it's taken decades to find you?
gpt
I'd bet there's a tiered system:

Actual time, which is, time spent not in stasis yet in military service. This counts the most towards retirement and/or time served.

Stasis time, which is accrued for some kind of consideration, though likely at a lower rate of "pay" (for whatever compensation is given) since you're being divorced more and more from your family, friends, and culture.

What would also require calculation is one's usefulness to the military. Unless interfaces and training stay relatively static or can be quickly learned, a soldier that's been asleep for 100 years probably isn't going to be as useful as the one that just came out of boot camp when it comes to understanding current-gen hardware and tactics. They might "retire" a soldier at a certain stasis-year just because they're not of any use unless they decide to re-enlist and re-train.