Identify the subordinate clause in the sentence below as either an adjective or an adverb clause.

That is the time when I was afraid.

adjective
adverb