Updated

Sochi, Russia (SportsNetwork.com) - Simon Moser scored with 7.9 seconds remaining to give Switzerland a 1-0 victory over Latvia in the opening game of group play for both teams in the men's ice hockey tournament.

Moser's pass from behind the net hit off a Latvian defenseman and got past goalie Edgars Masalskis, who ended with 38 saves on Wednesday.

Anaheim Ducks goalie Jonas Hiller made 21 saves on his 32nd birthday for the Swiss, who picked up a much-needed win in Group C action.

Switzerland faces off with Sweden on Friday in a game that could have major implications as far as deciding Group C. Sweden beat the Czech Republic on Wednesday.

Latvia will take on the Czech Republic on Friday.