Feeling the heat? Here are seven ways to stay cool this record-breaking weekend:

Five extra New York Public Library branches will be open Sunday to provide a cool spot to relax, and Brooklyn and Queens libraries will also keep doors open at a number of branches.

Many libraries function as official city “Cooling Centers,” along with city senior centers and community centers in all five boroughs.

Check www.nyc.gov or call 311 to find an air-conditioned location nearby.

If a cooling center is too far to walk, ridesharing service Lyft is offering two free rides to a Cooling Center. Use the code NYCCOOL19 on the app.

Hours are extended at city pools and beaches as well. Pools are open from 11 a.m. to 3 p.m. and 4 p.m. to 8 p.m. Beaches are open from 10 a.m. to 7 p.m.

Spray showers at city parks are also being left on for extended hours.

Hydrant spray caps that turn fire hydrants into spray showers are available to adults at local firehouses.