"Whatever Gets You Thru The Night" Is A Song Written By John Lennon Released As A Single In 1974 On Apple Records Catalogue Number Apple 1874 In The United States And Apple R5998 In The United Kingdom. The Recording Featured Elton John On Harmony Vocals And Piano. While In The Studio Elton Bet Lennon That The Song Would Top The Charts And Such Was Lennon's Scepticism That Elton Secured From Him A Promise To Appear On Stage At One Of His Performances Should The Record Indeed Hit No. 1. When The Record Did Achieve That Feat Lennon Appeared At John's Thanksgiving Performance At Madison Square Garden On 28 November 1974. It Was Lennon's Last Major Concert Appearance. The Inspiration For The Lyrics Came From Late-Night Television. In December 2005 May Pang Told Radio Times 'At Night Lennon Loved To Channel-Surf And Would Pick Up Phrases From All The Shows. One Time He Was Watching Reverend Ike A Famous Black Evangelist Who Was Saying 'Let Me Tell You Guys It Doesn't Matter It's Whatever Gets You Through The Night.' John Loved It And Said 'I've Got To Write It Down Or I'll Forget It.' He Always Kept A Pad And Pen By The Bed. That Was The Beginning Of "Whatever Gets You Thru The Night".' "Whatever Gets You Thru The Night" Was Lennon's Only Solo No. 1 Single In The United States During His Lifetime And He Was The Last Member Of The Beatles To Top The Charts. In Canada The Single Spent Two Weeks At No. 2 And Became The 30th Biggest Hit Of 1974.