Of course I forgot my umbrella on the one day when it was supposed to rain.
<em>When it was supposed to rain </em><em>is the relative clause. </em><em>When </em><em> is a relative pronoun and it helps to make it clear which time we're talking about.</em>