The U.S. stock market had its best day in two months Friday following encouraging news about the job market. The surge was enough to push two of the three major indexes to gains for the week.

On Friday:

The Dow Jones industrial average added 267.05 points, or 1.5 percent, to 18,191.11.

The Standard & Poor's 500 index rose 28.10 points, or 1.4 percent, to 2,116.10.

The Nasdaq composite rose 58 points, or 1.2 percent, to 5,003.55.

For the week:

The Dow rose 167.05 points, or 0.9 percent.

The S&P 500 index gained 7.81 points, or 0.4 percent.

The Nasdaq lost 1.84 points, or 0.04 percent.

For the year:

The Dow is up 368.04 points, or 2.1 percent.

The S&P 500 index is up 57.20 points, or 2.8 percent.

The Nasdaq is up 267.49 points, or 5.7 percent.