"At that time" means "at a particular MOMENT" - say, for example, ten past three on Sunday afternoon.
"In that time" means "within a given INTERVAL" - say, the interval while you were at work yesterday.
Both of the above are adverb phrases, because the preposition converts the noun phrase...