Question: How long did it take for Randy Newman to compose "You've Got a Friend in Me?"
About the article "Toy Story", section "Music".

Candidate passages:
  "You've Got a Friend" (Andy Williams album), 1971  "You've Got a Friend" (Susie Luchsinger album), 2003  "You've Got a Friend" (Johnny Mathis album), 1971  "You've Got a Friend" (Sonia and Big Fun song), 1990  "You've Got a Friend in Me", a 1995 song by Randy Newman  
Disney was concerned with Lasseter's position on the use of music.
Unlike other Disney films of the time, Lasseter did not want the film to be a musical, saying it was a buddy film featuring "real toys."
Joss Whedon agreed saying, "It would have been a really bad musical, because it's a buddy movie.
It's about people who won't admit what they want, much less sing about it.
...
Buddy movies are about sublimating, punching an arm, 'I hate you.'
It's not about open emotion."
However, Disney favored the musical format, claiming "Musicals are our orientation.
Characters breaking into song is a great shorthand.
It takes some of the onus off what they're asking for."
Disney and Pixar reached a compromise: the characters in "Toy Story" would not break into song, but the film would use songs over the action, as in "The Graduate", to convey and amplify the emotions that Buzz and Woody were feeling.
Disney tapped Randy Newman to compose the film.
The edited "Toy Story" was due to Randy Newman and Gary Rydstrom in late September 1995 for their final work on the score and sound design, respectively.
Lasseter claimed "His songs are touching, witty, and satirical, and he would deliver the emotional underpinning for every scene."
Newman developed the film's signature song "You've Got a Friend in Me" in one day.
"You've Got a Friend in Me" is a song written and first recorded by Randy Newman.
Originally written as the theme song for the 1995 Disney/Pixar animated film "Toy Story", it has since become the theme song for its sequels, "Toy Story 2" (1999) and "Toy Story 3" (2010).
The song was nominated for both the 1996 Academy Award for Best Original Song and the 1995 Golden Globe Award for Best Original Song but lost both to another Disney song, "Colors of the Wind" from "Pocahontas".
Like many other Disney theme songs, "You've Got a Friend in Me" has been covered numerous times.
Cover versions featured in the three "Toy Story" films include a duet with Newman and Lyle Lovett in "Toy Story", a version by Robert Goulet and an instrumental by Tom Scott in "Toy Story 2", an Italian language version by Riccardo Cocciante, and a Spanish language version by the Gipsy Kings in "Toy Story 3". 
'" "Colors of the Wind" by Vanessa Williams – "Pocahontas"  "Have You Ever Really Loved a Woman?"
by Bryan Adams – "Don Juan DeMarco"  "Hold Me, Thrill Me, Kiss Me, Kill Me" by U2 – "Batman Forever"  "Moonlight" by Sting – "Sabrina"  "You've Got a Friend in Me" by Randy Newman – "Toy Story"  
 In 1985 Newman performed a set at the first Farm Aid concert that featured a duet with Billy Joel on facing grand pianos.
Newman performed "Sail Away."
In 2000, Newman hosted a PBS special on Sunset Blvd, in his native Los Angeles.
Driving a convertible, he followed the road from the Amtrak train station downtown, through Silver Lake, on past his alma mater UCLA, and finished in Santa Monica.
Randy Newman appeared on "The Colbert Report" on October 9, 2006, performing "Political Science" after his interview.
At the end of the performance Stephen Colbert said "I hope they're listening in D.C." This appearance came days after North Korea conducted an underground test of a nuclear weapon.
Newman appeared on the season two finale of the sitcom "3rd Rock from the Sun", accompanying the character Harry Solomon's performance of "Life Has Been Good To Me" on piano in a dream sequence.
He appeared as a musical guest at the end of the Keynote Address at Macworld's 2008 San Francisco Macworld Expo, performing the songs "A Few Words in Defense of Our Country" and "You've Got a Friend in Me."
Newman appeared as a musical guest on the second episode of NBC's "Saturday Night Live" in 1975, on the show's Mardi Gras special in 1977, and again on December 8, 1979.
In June 2010, Newman was honoured with a star on the Hollywood Walk of Fame.
Monty Python's Eric Idle presented at the ceremony.
In February 2013, Newman performed at the public memorial for Dr. Jerry Buss, the long time owner of the LA Lakers.
Newman's "I Love LA" has served as an unofficial anthem to LA sports teams, Buss' memorial service was at L.A.'s Nokia Theatre where Oscar winner Newman took to the stage to sing his hit "You've Got a Friend in Me."