Using relative heliocentric ecliptic longitude of the Earth and the other planet. Home in on when both planets have the same longitude (the difference is 0).