It may depend on which country’s armed forces you are joining. As an example, the US army ARC fighter units’ deployments generally last for around three months. However, many squadrons will break it down into two 45-day periods to spread the burden of separation. If the areas are unknown, there is a “spin up”, 8-12 months before the deployment to get familiar with using weapons in their particular combat zone.