Monday was San Francisco's coldest July 12 in over a century

Brown pelicans fly in front of the San Francisco skyline on August 17, 2018 in San Francisco, California.
Brown pelicans fly in front of the San Francisco skyline on August 17, 2018 in San Francisco, California. Photo credit Justin Sullivan/Getty Images

Mark Twain never said, "The coldest winter I ever spent was a summer in San Francisco."

Had he been in the city on Monday, he might’ve wanted to.

San Francisco reached a maximum high temperature of 57 degrees on Monday, which the National Weather Service said tied the record low for July 12. The record was first set in 1899, then last matched in 1912.

The agency said San Franciscans had the marine layer to thank for Monday's unseasonably cool weather.

Temperatures aren't expected to be much warmer on Tuesday, with San Francisco projected to reach a high of 62 degrees.

The once-in-a-century temperatures Monday were a far cry from the increasingly hot weather San Francisco and the Bay Area have become accustomed to.

Heat waves last weekend and last month approached and, in some cases, broke records in the region. Much of California dealt with hotter temperatures, too, with Death Valley reaching 130 degrees on Saturday.

Last year was the planet's hottest on record, according to the National Oceanic and Atmospheric Administration, as the globe grapples with the consequences of climate change.