何时, means 什么时候, usually used in writing or formal conversations. 你是何时开始学习中文的?
在那时, means at that time, in those days, then. 在那时,电脑还不普及。
当时, almost the same as 在那时. 当时,电脑还不普及。it's just the same meaning as the former one. and, you can also use it like this way: 当时,我正在看电视。
当场, means on the spot, at once, instantly. 我当场就回答了她的问题。in some cases, instead of 当场, you can use 当时, the meaning is the same. 我当时就回答了她的问题。
在(当)…的时候, 当…时, they're almost the same: 在(当)我吃饭的时侯,开始下雨了。// 当我听到这首歌时,我就会想起他。
在…期间, means during, usually a relatively long period. 在校期间,伊丽莎白同学表现良好。// 在我住在香港的期间,我认识了很多中国朋友。