I second what Dogs said....the time from arrival to line check completion is 4-5 months. It's a grind to be away for so long.
a few points to mention: I knew I was exhausted from the grind that was EK so I welcomed sleeping in the same time zone. After about 6 weeks I felt way better (the short term memory loss is permanent I'm afraid)
many had their family visit them, that's a welcome option. You are assigned the same room during your entire time of ground training so they can easily stay when you're at class or days off
lastly if possible don't do the course in the winter months. The days are sometimes long in class and with the significant loss of daylight hours in the winter it can add to the feeling of depression, at least for me the thought of starting out on the bus in the dark and finishing the day in the dark is something I'd avoid.