For IF, the timing isn’t important, the length of the fasting window is. So the longer the fasting window you can manage is what you aim for.
Just make sure you can do all your school work and studying, plus other activities, including any social activities.
And make sure you’re getting good sleep and work on any major stress issues. Eat well, and get some exercise in, too, for good measure.