New James Bond film 'Skyfall' has shot to the top of the box office rankings around the world and notched up one of the biggest UK openings of all time.

But the 23rd Bond movie failed to topple the record set by Harry Potter, with 007 scoring the second biggest Friday-to-Sunday opening weekend in UK history.

The movie, starring Daniel Craig, took an estimated £20.1 million in the UK, making it the biggest opening of the year so far, reported Deadline.

But it failed to smash the UK record set by 'Harry Potter And The Deathly Hallows Part 2', the final film in the boy wizard series, which was released in 3D last year.

In the UK, 'Skyfall' also beat the opening weekends of previous Bond films with Daniel in the title role, 'Casino Royale' and the follow-up 'Quantum Of Solace'.

The movie notched up 77.7 million US dollars (£48.3 million) across the globe, and was number one in every country where it opened.

Directed by Sam Mendes, 'Skyfall' also stars Dame Judi Dench as secret service boss M, Naomie Harris, Berenice Marlohe, Javier Bardem - as Bond's nemesis Silva - and Ben Whishaw, as Q.

Its world premiere, attended by the Prince of Wales and Duchess of Cornwall, took place at the Royal Albert Hall in London last week.

Loading Slideshow...
  • Skyfall Royal World Premiere - London

    Daniel Craig arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London. PRESS ASSOCIATION Photo. Picture date: Tuesday October 23, 2012. See PA story SHOWBIZ Bond. Photo credit should read: Yui Mok/PA Wire

  • BRITAIN-ENTERTAINMENT-CINEMA-BOND-SKYFALL

    Britain's Camilla, Duchess of Cornwall (R) shakes hands with British actor Daniel Craig (L) as Craig's wife British actress Rachel Weisz (L) at the royal world premiere of the James Bond film 'Skyfall' at the Royal Albert Hall in London on October 23, 2012. AFP PHOTO / POOL / KIRSTY WIGGLESWORTH (Photo credit should read KIRSTY WIGGLESWORTH/AFP/Getty Images)

  • BRITAIN-ENTERTAINMENT-CINEMA-BOND-SKYFALL

    Britain's Camilla, Duchess of Cornwall (R) meets British actors Daniel Craig (L) and Judi Dench (C) as she arrives with the Prince of Wales to attend the royal world premiere of the James Bond film 'Skyfall' at the Royal Albert Hall in London on October 23, 2012. AFP PHOTO / POOL / KIRSTY WIGGLESWORTH (Photo credit should read KIRSTY WIGGLESWORTH/AFP/Getty Images)

  • BRITAIN-ENTERTAINMENT-CINEMA-BOND-SKYFALL

    Britain's Prince Charles, Prince of Wales (R) and Camilla, Duchess of Cornwall (2R) meet British actors Daniel Craig (L) and Judi Dench (2L) as they arrive to attend the royal world premiere of the James Bond film 'Skyfall' at the Royal Albert Hall in London on October 23, 2012. AFP PHOTO / POOL / KIRSTY WIGGLESWORTH (Photo credit should read KIRSTY WIGGLESWORTH/AFP/Getty Images)

  • Skyfall - Royal World Premiere - Arrivals

    LONDON, ENGLAND - OCTOBER 23: Prince Charles, Prince of Wales and Camilla, Duchess of Cornwall attend the Royal World Premiere of 'Skyfall' at the Royal Albert Hall on October 23, 2012 in London, England. (Photo by Eamonn McCormack/Getty Images)

  • Skyfall - Royal World Premiere - Arrivals

    LONDON, ENGLAND - OCTOBER 23: Tulisa Contostavlos attends the Royal World Premiere of 'Skyfall' at the Royal Albert Hall on October 23, 2012 in London, England. (Photo by Eamonn McCormack/Getty Images)

  • Skyfall - Royal World Premiere - Arrivals

    LONDON, ENGLAND - OCTOBER 23: Sam Taylor-Johnson and Aaron Taylor-Johnson attend the Royal World Premiere of 'Skyfall' at the Royal Albert Hall on October 23, 2012 in London, England. (Photo by Eamonn McCormack/Getty Images)

  • Skyfall - Royal World Premiere - Arrivals

    LONDON, ENGLAND - OCTOBER 23: Prince Charles, Prince of Wales and Camilla, Duchess of Cornwall attend the Royal World Premiere of 'Skyfall' at the Royal Albert Hall on October 23, 2012 in London, England. (Photo by Eamonn McCormack/Getty Images)

  • BRITAIN-ENTERTAINMENT-CINEMA-BOND-SKYFALL

    Britain's Prince Charles, Prince of Wales (L) and Camila, Duchess of Cornwall (R), greet members of the crowd as they arrive to attend the royal world premiere of the new James Bond film 'Skyfall' at the Royal Albert Hall in London on October 23, 2012. AFP PHOTO / LEON NEAL (Photo credit should read LEON NEAL/AFP/Getty Images)

  • Skyfall - Royal World Premiere - Arrivals

    LONDON, ENGLAND - OCTOBER 23: Valentino attends the Royal World Premiere of 'Skyfall' at the Royal Albert Hall on October 23, 2012 in London, England. (Photo by Eamonn McCormack/Getty Images)

  • Skyfall - Royal World Premiere - Arrivals

    LONDON, ENGLAND - OCTOBER 23: (L-R) Jade Ellis, Tulisa Contostavlos, Ella Henderson and Lucy Spraggan attend the Royal World Premiere of 'Skyfall' at the Royal Albert Hall on October 23, 2012 in London, England. (Photo by Eamonn McCormack/Getty Images)

  • Skyfall - Royal World Premiere - Arrivals

    LONDON, ENGLAND - OCTOBER 23: (L-R) Jade Ellis, Tulisa Contostavlos, Ella Henderson and Lucy Spraggan attend the Royal World Premiere of 'Skyfall' at the Royal Albert Hall on October 23, 2012 in London, England. (Photo by Eamonn McCormack/Getty Images)

  • Skyfall Royal World Premiere - London

    The Prince of Wales and The Duchess of Cornwall meet James Bond actor Daniel Craig (left) and Dame Judi Dench (2nd left) as they arrive for the Royal World Premeire of Skyfall at the Royal Albert Hall, London.

  • Skyfall Royal World Premiere - London

    John Logan arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Christopher Biggins and Neil SInclair arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Bear and Shara Grylls arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Kathy Lett and Stephen Fry arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Sam and Aaron Taylor-Johnson arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Jordan Stephens and Harley Alexander-Sule from Rizzle Kicks arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Marvin Humes, Aston Merrygold, Ortise Williams and JB Gill from JLS arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Maryam D'Abo arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Naomie Harris arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London. PRESS ASSOCIATION Photo. Picture date: Tuesday October 23, 2012. See PA story SHOWBIZ Bond. Photo credit should read: Yui Mok/PA Wire

  • Skyfall Royal World Premiere - London

    Emeli Sande and husband Adam arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    (Centre left to right) Ralph Fiennes, Daniel Craig and Berenice Marlohe arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London. PRESS ASSOCIATION Photo. Picture date: Tuesday October 23, 2012. See PA story SHOWBIZ Bond. Photo credit should read: Yui Mok/PA Wire

  • Skyfall Royal World Premiere - London

    Daniel Craig arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London.

  • Skyfall Royal World Premiere - London

    Chris Evans and wife Natasha arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    The Prince of Wales and The Duchess of Cornwall arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London. PRESS ASSOCIATION Photo. Picture date: Tuesday October 23, 2012. See PA story SHOWBIZ Bond. Photo credit should read: Yui Mok/PA Wire

  • Skyfall Royal World Premiere - London

    Tulisa Contastavlos with Lucy Spraggan, Ella Henderson and Jade Ellis arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Kelly Brook arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    District3 arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    District3 arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Union J arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Christopher Maloney, Kyle Sones, James Arthur and Jahmene Douglas arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Ellie Simmonds arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Victoria Pendleton arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Victoria Pendleton arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Tess Daly arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Sir David Frost arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Katie Price arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    His Royal Highness The Prince of Cornwall and the Duchess of Cornwall arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Bear Grylls arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Holly Valance arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Naomi Campbell arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Tamara Beckwith arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Minnie Driver arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Ella Anderson arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Lucy Spraggan arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Tulisa Contostavlos arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Jade Ellis arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Victoria Pendleton arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

  • Skyfall Royal World Premiere - London

    Rylan Clark arriving for the Royal World Premeire of Skyfall at the Royal Albert Hall, London

LOOK: 224 pictures from the Skyfall word premiere

Berenice Marlohe spills on her shower scene with Daniel Craig

WATCH: Wayne Rooney stars in alternative 'Skyfall' trailer

VOTE: Which actor could replace Daniel Craig as Bond?

LISTEN: Three exclusive tracks from the Skyfall score

VOTE: Is Ursula Andress still the best ever Bond girl?

REVIEW: Something old, something new, a lot of things borrowed

WATCH: Six video interviews from the Skyfall red carpet

VOTE: Who is Bond's best ever villain?