Q: is your song "here comes the sun" based on "and the day goes on"?
A: no. most of 'here comes the sun' was written much earlier than 'and the day goes on'