Question: When was if i were a boy released?

Disambiguated questions and answers:
context: "If I Were a Boy" is a song performed by American singer Beyoncé, from her third studio album "I Am... Sasha Fierce" (2008). "If I Were a Boy" was written by BC Jean and Toby Gad, who also handled its production alongside Beyoncé. Inspired by the difficult break-up of a romantic relationship, the song was initially recorded by Jean, whose record company rejected it. Beyoncé then recorded her own version. Jean was upset when she learned that Beyoncé was releasing it as a single, but eventually, they reached an agreement. Columbia Records released "If I Were a Boy" to US radio on October 8, 2008, as a double A-side single album's alongside "Single Ladies (Put a Ring on It)" as the lead singles. The two songs showcased the contrast between Beyoncé's personality and her aggressive onstage persona, Sasha Fierce. A Spanish version of the song, titled "Si Yo Fuera un Chico", was digitally released in Mexico and Spain.
question: When was if i were a boy released on the radio?
short_answers: October 8, 2008
wikipage: If I Were a Boy
context: "If I Were a Boy" and "Single Ladies (Put a Ring on It)" were released simultaneously as the double album's two lead singles. The songs were taken from different discs of the album to demonstrate Beyoncé's conflicting personalities, the album's central theme. This motif was demonstrated by placing the ballads on a separate disc from the uptempo tracks. "If I Were a Boy" and "Single Ladies" were initially planned to debut on US radio stations on October 7, 2008, but both premiered the following day. "If I Were a Boy" debuted on Z100's "Elvis Duran and the Morning Show", while "Single Ladies" first aired on New York mainstream urban radio station Power 105.1. Both singles were added to rhythmic contemporary radio on October 13, 2008. That same day, "If I Were a Boy" was sent to contemporary hit radio, and "Single Ladies" was sent to urban contemporary radio. On November 24, 2008, "If I Were a Boy" was sent to US urban radio. Two digital EPs, each containing seven dance remixes of "If I Were a Boy" were released on February 10, 2009, in the US.
question: When was if i were a boy released on an album?
short_answers: October 13, 2008
wikipage: If I Were a Boy
context: The ballad was first released internationally as a stand-alone digital download in Oceania and most European countries on October 17, 2008. In France and the United Kingdom, "If I Were a Boy" was serviced digitally on October 26, 2008. On November 7, 2008, a two-track CD single, including "Single Ladies (Put a Ring on It)" as the B-side, went on sale in all European countries, Oceania, and in Canada. In Canada two different digital EPs were made available on February 3 and 10, 2009. A Spanish version of "If I Were a Boy" was translated by Rudy Pérez and mixed by Andrés Bermúdez at The Beach House in Miami. Titled "Si Yo Fuera un Chico (If I Were a Boy)", this version was only included on copies of "I Am... Sasha Fierce" in Mexico as well as iTunes Stores in Latin America and Spain, where it was released as a stand-alone single on February 3, 2009.
question: When was if i were a boy released as a digital download in Oceania and most European countries?
short_answers: October 17, 2008
wikipage: If I Were a Boy
context: The ballad was first released internationally as a stand-alone digital download in Oceania and most European countries on October 17, 2008. In France and the United Kingdom, "If I Were a Boy" was serviced digitally on October 26, 2008. On November 7, 2008, a two-track CD single, including "Single Ladies (Put a Ring on It)" as the B-side, went on sale in all European countries, Oceania, and in Canada. In Canada two different digital EPs were made available on February 3 and 10, 2009. A Spanish version of "If I Were a Boy" was translated by Rudy Pérez and mixed by Andrés Bermúdez at The Beach House in Miami. Titled "Si Yo Fuera un Chico (If I Were a Boy)", this version was only included on copies of "I Am... Sasha Fierce" in Mexico as well as iTunes Stores in Latin America and Spain, where it was released as a stand-alone single on February 3, 2009.
question: When was if i were a boy released as a digital download in France and the UK?
short_answers: October 26, 2008
wikipage: If I Were a Boy

Long-form answers:
knowledge: content: The song's lyrics lament the misunderstandings between the genders and indict the male side of relationships. "If I Were a Boy" was well received by critics, who complimented Beyoncé's tormented and emotive vocal performance and called the song her best work to date.
wikipage: If I Were a Boy
long_answer: If I Were a Boy is a song performed by American singer Beyoncé, from her third studio album I Am... Sasha Fierce (2008). Columbia Records released If I Were a Boy to US radio on October 8, 2008. It was released on an album on October 13, 2008. The ballad was first released internationally as a stand-alone digital download in Oceania and most European countries on October 17, 2008. In France and the United Kingdom, If I Were a Boy was serviced digitally on October 26, 2008.  The song's lyrics lament the misunderstandings between the genders and indict the male side of relationships. If I Were a Boy was well received by critics, who complimented Beyoncé's tormented and emotive vocal performance and called the song her best work to date.