YOU SAID:
When it is raining find the sun.
INTO JAPANESE
雨が降っているときは、太陽を見つけてください。
BACK INTO ENGLISH
Find the sun when it's raining.
INTO JAPANESE
雨が降っているときに太陽を見つけます。
BACK INTO ENGLISH
Find the sun when it's raining.
That didn't even make that much sense in English.