Stocks closed at their latest all-time highs Wednesday following news that business hiring surged in June, adding to evidence that the U.S. economy is picking up momentum.

Stocks closed at their latest all-time highs Wednesday following news that business hiring surged in June, adding to evidence that the U.S. economy is picking up momentum.

On Wednesday:

The Dow Jones industrial average rose 20.17 points, or 0.1 percent, to close at 16,976.24.

The Standard & Poor's 500 index rose 1.30 points, or 0.07 percent, to 1,974.62.

The Nasdaq composite index fell 0.92 points, or 0.02 percent, to 4,457.73.

For the week:

The Dow rose 124.40 points, or 0.7 percent.

The S&P 500 rose 13.66 points, or 0.7 percent.

The Nasdaq rose 59.80 points, or 1.4 percent.

For the year:

The Dow is up 399.58 points, or 2.4 percent.

The S&P 500 index is up 126.26 points, or 6.8 percent.

The Nasdaq is up 218.14 points, or 6.7 percent