The latest requirement for people to wear masks in public during the coronavirus pandemic takes effect at 4 p.m. Friday in Raleigh and 5 p.m. Sunday in Knightdale.