The Cyber Hymnal has this song under a different title (the first line), with lyrics attributed to Jefferson Haskell, 1860, and music to William B Bradbury ("Golden Shower,"* 1862.
My Latest Sun Is Sinking Fast (Cyber Hymnal)
*no snickering, please. I'd guess that term had a different meaning a century and a half ago.