Stocks edged lower Thursday as hopes for a Greek debt solution faded and talks between the country and its creditors got extended into the weekend. Health care stocks rose sharply after the Supreme Court upheld the Affordable Care Act's insurance subsidies.

Stocks edged lower Thursday as hopes for a Greek debt solution faded and talks between the country and its creditors got extended into the weekend. Health care stocks rose sharply after the Supreme Court upheld the Affordable Care Act's insurance subsidies.

For the day:

The Dow Jones industrial average lost 75.71 points, or 0.4 percent, to 17,890.36.

The Standard & Poor's 500 index fell 6.27 points, or 0.3 percent, to 2,102.31.

The Nasdaq lost 10.22 points, or 0.2 percent, to 5,112.19.

For the week:

The Dow is down 125.59 points, or 0.7 percent.

The S&P 500 is down 7.68 points, or 0.4 percent.

The Nasdaq is down 4.81 points, or 0.1 percent.

For the year:

The Dow is up 67.29 points, or 0.4 percent.

The S&P 500 index is up 43.41 points, or 2.1 percent.

The Nasdaq is up 376.13 points, or 7.9 percent.