Where Were You When the Lights Went Out? (1968)
Where Were You When the Lights Went Out? is a 1968 American comedy film with Doris Day, directed by Hy Averback. Although it is set in New York City during the infamous Northeast Blackout of 1965, in which 25 million people scattered throughout seven states lost electricity for several hours, the screenplay by Everett Freeman and Karl Tunberg is based on the earlier 1956 French play Monsieur Masure by Claude Magnier.
More at Wikipedia.