How the Dow Jones industrial average and other major indexes did Friday

U.S. financial markets notched modest gains Friday after a quiet, post-holiday day of trading. The gains nudged the Dow Jones industrial average and Standard & Poor's 500 index to all-time highs. Utilities stocks were among the biggest gainers, while energy stocks declined as oil prices fell.

Friday:

The Dow Jones industrial average rose 23.50 points, or 0.1 percent, to 18,053.71.

The Standard & Poor's 500 index gained 6.89 points, or 0.3 percent, to 2,088.77.

The Nasdaq composite gained 33.39 points, or 0.7 percent, to 4,806.86.

For the week:

The Dow is up 248.91 points, or 1.4 percent.

The S&P 500 index is up 18.12 points, or 0.9 percent.

The Nasdaq is up 41.48 points, or 0.9 percent.

For the year:

The Dow is up 1,477.05 points, or 8.9 percent.

The S&P 500 index is up 240.41 points, or 13 percent.

The Nasdaq is up 630.27 points, or 15.1 percent.