Title: 2017 World Series
Content:  another World Series appearance the following year in 2018, but lost to the Boston Red Sox in five games, marking the first time the Dodgers lost back-to-back World Series since 1977 and 1978, where they lost both World Series to the New York Yankees. The Astros appeared in the World Series again in 2019, where they lost to the Washington Nationals in seven games. The Nationals also beat the Dodgers on their way to a championship in the NLDS in five games. Due to the COVID-19 pandemic, the Astros played all of their 2020 American League Division Series games at Dodger Stadium against the Athletics, a series they won in four games. There was nearly 
Title: 2020 World Series
Content:  The Los Angeles Dodgers of the National League made their 21st appearance in the World Series, passing the Giants for most all-time in the National League, and third in four years, having lost in 2017 and 2018. They finished the shortened regular season with a .717 record, the best in all of MLB. They then swept both the Milwaukee Brewers in the Wild Card Series and the San Diego Padres in the Division Series, before defeating the Atlanta Braves in seven games in the League Championship Series after trailing 3–1 in that series.
Title: 1981 World Series
Content:  during the 1980s. However, since their 1988 World Series win, the Dodgers would not appear in another World Series until 2017 (which they lost to the Houston Astros), despite reaching the NLCS in 2008, 2009, 2013, and 2016. They would also appear in the World Series in 2018 against the Boston Red Sox, which they also lost. They finally broke their World Series Championship drought by winning in 2020 against the Tampa Bay Rays. The Yankees, on the other hand, appeared in seven World Series (1996, 1998, 1999, 2000, 2001, 2003, and 2009) in that span, winning all but 2001 and 2003.
Title: 2017 World Series
Content:  The Dodgers held a 91–36 record through August 25 and ended the season with a 104–58 record. They won their fifth consecutive National League West title and home field advantage throughout the playoffs as the overall #1 seed. In the postseason, the Dodgers swept the 4th-seeded Arizona Diamondbacks in the National League Division Series and then defeated the number 3 seed and defending World Series champion Chicago Cubs in the previous year's rematch of the National League Championship Series in five games, leading to the fourth time since 2000 that two teams played each other in consecutive League Championship Series. This was the first appearance in the Fall Classic for the Dodgers since 1988, the tenth since the franchise moved from Brooklyn to Los Angeles in 1958, and the 19th overall. Entering the 2017 World Series, the Dodgers bullpen had thrown 23 
Title: 2020 World Series
Content:  every postseason game. With the World Series win, the only team to beat the Dodgers in a series in 2020 was the Rockies, who won two out of three at Dodger Stadium in early September. With the best record in baseball, the Dodgers were also just the seventh team in the Wild Card Era (since 1995) to have at least a share of the best record in baseball and win the World Series, joining the 2018 Red Sox, '16 Cubs, '13 Red Sox, '09 Yankees, '07 Red Sox and ‘98 Yankees on that list. Because of an expanded 16-team postseason field, the Dodgers’ 13 postseason wins were the most in MLB history.
Title: 2017 Los Angeles Dodgers season
Content:  became the third pitcher with two starts of less than two innings in the World Series, and the first since Art Ditmar in the 1960 World Series. Morrow relieved Darvish and in the process became only the second pitcher to pitch in all seven games of a single World Series, joining Darold Knowles in the 1973 World Series. McCullers lasted only innings himself, he allowed three hits and hit a World Series record four batters. This was the first Game 7 in World Series history where neither starting pitcher got past the third inning. The Dodgers failed to score a run through five 
Title: 1988 World Series
Content:  league in saves with 49. It was intensity and fortitude, however, that defined the 1988 Dodgers, a trend that began when Kirk Gibson was signed as a free agent over the winter from the Detroit Tigers, the team he helped lead to the 1984 World Championship. Moreover, the invincible Hershiser threw shutouts in five of his last six regular season starts en route to a record 59 consecutive scoreless innings pitched, breaking the mark held by former Dodger great Don Drysdale. Hershiser would dominate the Mets in the NLCS, while Gibson hobbled through on bad knees and a bruised hamstring but would produce a memorable, if not the greatest, at-bat (in Game 1) of the World Series.
Title: 2018 World Series
Content:  the 2018 National League Division Series and the Milwaukee Brewers in seven games in the 2018 National League Championship Series, becoming the first team in either league to win Game 7 of a League Championship Series on the road since the 2006 Cardinals. The 2018 Dodgers were the first team to make the World Series by winning their tie-breaker game since the 2007 Colorado Rockies, who also faced and lost to Boston in that World Series. This was the Dodgers' fifth back-to-back World Series appearance (Two came in Brooklyn in 1952–1953 and 1955–1956, and two came in Los Angeles in 1965–1966 and 1977–1978), and the first time since the 2014-15 Kansas City Royals to win back-to-back League Championship Series. Overall, this was the Dodgers' 20th World Series appearance.
Title: 2017 in baseball
Content:  came exactly 29 years after Kirk Gibson belted his legendary walk-off homer off Dennis Eckersley in Game 1 of the 1988 World Series. As a result, the Dodgers placed two wins away from returning to the World Series for the first time since that championship season. Besides, Turner also had an RBI-single in the fifth to drive in all the Dodgers' runs. Addison Russell homered in the fifth for the only Cubs run. Dodgers closer Kenley Jansen got the win with a hitless ninth. Game 3 was scheduled for October 17 at Wrigley Field. ; October 16 – After losing 
Title: 2018 World Series
Content:  Corey Seager returned to the Dodgers after being out for most of the 2018 season due to an elbow injury, while Manny Machado, who replaced him after the All-Star break, signed a record free agent contract with the San Diego Padres. The 2019 Dodgers broke the franchise record for wins at 106, but would experience October heartbreak once again by losing to eventual World Champion Washington Nationals in the NLDS in five games. The Dodgers became the second franchise to lose to the eventual World Series champions in four consecutive postseasons (the New York Yankees from 2001 to 2004 were the first). The Dodgers traded for Mookie Betts during the 2019-2020 off-season and his addition made a great team even better. The Dodgers in 2020 would set the record for best winning percentage in franchise history (.717), win their 8th straight division title, and their first World Series in 32 years.

Question: when was the last time the dodgers went to the world seris?
Answer: 2012.