Does when point to a time or link clauses?
Interrogative adverb: answers like at noon: When did she call?
Relative adverb: modifies a noun: the day when we met.
Conjunction: fronts freely: When I finished, they were glad.
The day when we met is a relative clause, and the fronting test shows why. The clause stays tied to the noun day: you cannot move it to the front of the sentence and still have English, the way you can with When I finished, they were glad. A clause introduced by a conjunction is independent of any noun, so it fronts freely; a relative clause cannot, which is what makes when here a relative adverb.
Subordinating conjunction
Does when point to a time, or does it link clauses? If it asks for a time or points back to a time noun, it is an adverb. If it joins a dependent clause to a main clause, as in They were glad when I finished, it is a conjunction.
Interrogative adverb: it asks for a time, and the answer is an adverbial like at noon: When did she call?
Relative adverb: it follows a time noun such as day, year, or moment and the clause acts like an adjective describing that noun: I remember the day when we met.
Subordinating conjunction: it opens a dependent time clause that can move freely, and the clause says when the main action happens: They were glad when I finished.
Ambiguous pair: in the day when we met, when modifies the noun day, so the clause is stuck to the noun. In they were glad when I finished, the clause is adverbial. The refinement is fronting: When I finished, they were glad works; When we met, I remember the day does not. Frontable clause, conjunction; fixed clause, relative adverb.
Subordinating conjunction detail: Collins groups when with everyday subordinators such as while, whenever and as soon as. A quick confirmation for this role: move the whole clause to the front with only a pause added, as in When I finished, they were glad, and the conjunction use is confirmed.