Use "when" in referring to a specific period of time. " So which one you use depends on what exactly you are trying to say. "I was in part-time sales while I studied at the ABC university" means that you were in sales the whole time you were attending the university.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.