"Magic" is a song by American hip hop recording artist B.o.B, released on June 7, 2010 as the fifth single from his debut studio album "" (2010). The track features Weezer's lead singer Rivers Cuomo, singing the chorus. It was written by both artists, alongside the song's producer Dr. Luke. In the UK, the track made Radio 1's B-Playlist.
"Magic" was written in 2009
There's no way to tell when the song was actually written. The system thinks since it was released in 2010 that is when it was written.