Collision helped make the Milky Way — and now we know when