It comes only once a century, and the day that lines up four “9s” arrived just in time to test whether the nation will have electricity when the millennium adds three “0s” to the calendar.

Utilities used the occasion for a nationwide drill, coordinated by the North American Electric Reliability Council, to test preparedness plans and backup systems for Jan. 1, 2000.