'At the time' is a point in time: At the time (i.e. at 7 PM, when I heard the news, etc), I was quite angry.
'By the time' is a range of time: By the time I arrived, it had already finished. (i.e. it finished sometime—between 6 PM and 9 PM, between Friday and Sunday—before my arrival.)