July 31st is the 212th day of the year (213th in leap years) in the Gregorian calendar. There are 153 days remaining in the year.1777 • The U.S. Second Continental Congress passes a resolution that the services of Marquis de Lafayette be accepted, and that, in consideration of his zeal, illustrious family and connexions, he have the rank and commission of major-general.
1790 • The first U.S. patent is issued to inventor Samuel Hopkins for a potash process.
1792 • The cornerstone of the Mint in Philadelphia, PA, was laid. It was the first building to be used only as a government building.
1928 • MGMs Leo the lion roared for the 1st time. He introduced MGMs first talking picture, White Shadows on the South Seas.
1930 • The radio mystery program The Shadow is aired for the first time.
1964 • Ranger program: Ranger 7 sends back the first close-up photographs of the moon, with images 1,000 times clearer than anything ever seen from earth-bound telescopes.
1971 • Apollo program: Apollo 15 astronauts become the first to ride in a lunar rover.
2012 • Michael Phelps breaks the record set in 1964 by Larisa Latynina for the greatest number of medals won at the Olympics.