The 2012 Olympics are set to begin on Friday, July 27. The festivities will last for 16 days in London until Sunday, Aug. 12.

The games begin on Saturday with 12 medal events. Among the events, four gold medals for swimming will be awarded, while two medals for judo are up for grabs.

Archery medals won't be awarded until Saturday, but countries will compete in the event on Friday. It's the only sport that is scheduled to get underway on the day of the opening ceremonies.

The opening ceremonies are set to kick off at 9 p.m. ET. Queen Elizabeth II and Prince Philip, the Duke of Edinburgh, will open the games. Paul McCartney will close the ceremony with a musical performance.

Four different sports are scheduled to have an event in all of the 16 days of the Olympics. The basketball, boxing, handball and volleyball tournaments will last the entirety of the event, with gold medals being awarded on the final two days of competition.

The most gold medals will be awarded for track and field. From July 7-16, 47 total gold medals will be awarded for the various competitions in the sport.

Click here for the entire Olympic schedule.