HARRISBURG, Pa. (AP) — The clock is ticking down on Pennsylvania smokers who want to light up in many public spaces.

A statewide smoking ban goes into effect in less than two weeks — 90 days after it was signed by Pennsylvania Gov. Ed Rendell.

The measure bans cigarette, cigar and pipe smoking in restaurants, office buildings, schools, sports arenas, theaters and bus and train stations.

However, it allows smoking in some bars and taverns, portions of casino floors, private clubs and elsewhere.