The extra night in Minnesota now won’t be so painful.

Carmelo Anthony did everything Friday night but stop the blizzard in New York which has wrecked their travel plans.

The Knicks saved themselves from a nightmare two-game road trip by rallying from 11 points down in the final seven minutes to squeak out a 100-94 victory over the Timberwolves at Target Center. The Knicks closed the game on a 24-7 run.

Anthony bagged 36 points. He lit it up in the final eight minutes when he scored 12 points to erase the stench of the awful fourth quarter in D.C. during Wednesday’s loss to the awful Wizards. J.R. Smith’s 3-point play off a Minnesota turnover with 19.9 seconds left sealed it.

“I told Raymond [with four minutes left] I’m going to try to go get it,’’ Anthony said. “Being down 11, for the most part, we kept our composure and the way we did says a lot about us.’’

Anthony came alive late and gave the Knicks the lead for good with a runner to make it 91-90 with 2:20 left, then hit a pullup jumper with 1:10 remaining as the Knicks went up 95-92.

“He wasn’t going to let us lose,’’ coach Mike Woodson said. “He made offensive play after offensive play.

“Our backs were against the wall in the fourth quarter,’’ added Woodson, who became the fastest Knicks coach to 50 wins. “I thought they owned the third quarter. We dug a hole but we just kept fighting and our defense kicked in.’’

This was hardly a defensive gem, but the Knicks will take it as they made two key stops in the final 31 seconds.