Joe Pavelski and Tomas Hertl scored 2:28 apart in the third period, helping lift the San Jose Sharks over the Vancouver Canucks 4-1 on Sunday.

Patrick Marleau and Justin Braun, into an empty net, had the other goals for the Sharks, while Martin Jones made 23 saves. Marc-Edouard Vlasic added two assists, with Pavelski and Braun picking up one each for San Jose.

Daniel Sedin replied for the Canucks, who were looking to win three in a row for the first time this season. Ryan Miller made 24 saves.

San Jose sits in third place in the Pacific Division, 12 points up on the fading Canucks, who are eight back of the Colorado Avalanche for the Western Conference's second wild-card spot.

Trailing 1-0 after 40 minutes, the Sharks tied it at 4:21 of the third when Pavelski stepped around Luca Sbisa before beating Miller for his 27th of the season.

San Jose then grabbed the lead at 6:49 when Hertl tipped Braun's point shot past a helpless Miller for his 15th.

Vancouver's Adam Cracknell rang a shot off the iron behind Jones a couple of minutes later, but San Jose sealed it when Marleau ripped a one-timer on a 5-on-3 power play with 5:51 left for his 18th.

Braun added one more into an empty net with just over a minute to go.

After a scoreless first period, Vancouver opened the scoring at 3:03 of the second moments after a Sharks penalty expired when Sedin jammed a puck past Jones from the side of the net for his 23rd.

In a scheduling quirk, Sunday's game was the first between the Sharks and Canucks this season. The clubs play again Thursday in Vancouver and Saturday in San Jose before another back-to-back on March 29 and 31.

With the NHL trade deadline set for Monday at 3 p.m. ET, veteran defenseman Dan Hamhuis suited up for Vancouver in what could have been his final game for the Canucks. The 33-year-old is set to become an unrestricted free agent this summer and has a no-movement clause in his contract, but has indicated he would consider a move if it was the right situation.

NOTES: The Canucks have won two games in a row seven times this season. ... Vancouver D Matt Bartkowski sat out with the flu. ... Canucks F Radim Vrbata, also set to become an unrestricted free agent, missed his second straight game with a lower-body injury. ... San Jose hosts the Montreal Canadiens on Monday, while Vancouver continues a five-game homestand on Tuesday against the New York Islanders.