You refer specificly to time by saying "live in interesting times", therefore you must use "when" in the subordinate clause.