When you find yourself trying to remember a show (or any works) that's on the tip of your tongue but just out of reach, come here - the collective brain of the TVTropes community can probably help. Post all the details you can remember (examples help). If you're looking for a trope, head over to Trope Finder. Have general questions about tropes? Visit Ask The Tropers!
Could it have been THX 1138? The ending isn't exactly how you describe, but memory can be tricky.
Never seen it so I couldn't tell you unfortunately.
1,000 years from now there will be no guys and no girls, just wankers.You can watch the final scene at Movieclips on Youtube.
Apologies for the late reply, just had a look at it and no, it wasn't THX 1138. I distinctly remember the credits being superimposed directly over the sun rather than being in the right hand corner of the screen and the choir was made entirely of children's voices.
1,000 years from now there will be no guys and no girls, just wankers.
When I was about four or five years old I caught the credits of some show in my grandmother's house. The only things I can remember were the background footage being a close-up of a sunset and the music being a children's choir singing something (not sure what though). The only other things I recall are the credits themselves being in plain white text and both the text and the music stop when the sun disappears below the horizon. It's stuck with me ever since and I still have no idea where it came from.