ST. PETERSBURG, Fla. — Masahiro Tanaka has done this before. That doesn’t mean he’ll take the mound on Opening Day nerves-free, though.

“I do get nervous, but it’s a good nervousness,” the righthander said Saturday afternoon as the Yankees worked out at Tropicana Field, where they’ll open the regular season at 1:10 p.m. Sunday against the Rays. “You want to try and work that to your advantage.”

If Tanaka was nervous at any point in spring training, it certainly wasn’t apparent. The 28-year-old looked as good as any pitcher in the Grapefruit League, going 3-1 with a 0.38 ERA in six starts. He struck out 28 and walked five in 23 2⁄3 innings.

“The best part of spring training was to be able to play at a high level of baseball compared to previous [years],” said Tanaka, who — coming off surgery to remove a bone spur — pitched to a 7.38 ERA in spring training in 2016. “Consistency through spring training, I think that was the best part for me.”

Tanaka was among the best pitchers in the American League last season, going 14-4 with a 3.07 ERA.

His 14th victory could be categorized as strange, to say the least. It occurred last Sept. 21, his last start of 2016, an 11-5 victory at Tropicana Field. But he allowed four solo homers — by Bobby Wilson, Evan Longoria, Brad Miller and Corey Dickerson — in the third inning as the Rays cut the Yankees’ lead to 7-4.

“I think I’m over it, but I did study it,” Tanaka said. “You have to look back and study what you did wrong and what you did right, and obviously some of the things I did in that game were wrong. I did study it and I understand the adjustments that need to be made, so I feel confident going into this game.”

advertisement | advertise on newsday

Counting on Holliday

Matt Holliday, signed to a one-year, $13-million deal to be the club’s primary DH, quietly did well in spring training, hitting .283 with a .906 OPS in 20 games. The 37-year-old will start the season as the cleanup hitter, with Gary Sanchez and Greg Bird preceding him.

“I think it’s a veteran that has a lot of experience, someone that you can count on,” Joe Girardi said. “You can count on him to lead on and off the field. And I didn’t necessarily ask him to lead in the clubhouse, I think it’s just natural for him.”

Going slow

Aaron Judge played well in winning the rightfield job but will start the season batting eighth.

Yankees videos

“You talk about not putting too much on a young player’s plate and you kind of earn your way up the line,” Girardi said. “If he hits the way he’s capable of, there’s a good chance he’s going to move up. But we’re just trying not to put too much on him too early.”

Still bullish on the bullpen

Though the bullpen lacks Andrew Miller as an option between closer Aroldis Chapman and Dellin Betances, Girardi is confident about this year’s group of relievers, which includes those two power pitchers as well as righty Tyler Clippard, lefty Tommy Layne and long men Adam Warren and Bryan Mitchell.

“You can’t replace Andrew Miller. He’s the elite of the elite,” Girardi said. “But I feel really good about our bullpen.”

For openers

advertisement | advertise on newsday

The Yankees have lost their last five season openers and seven of their last eight, beating the Tigers, 6-3, at Yankee Stadium in 2011. They are 63-50-1 on Opening Day — 35-17-1 at home and 28-33 on the road.