* The first is a series of four movies released between 2004 and 2006. They starred Jim Carrey as Count Olaf and were based on the first three books in the series.
* The second is a Netflix series which began airing in 2017 and is based on the full thirteen-book series.
So, depending on which adaptation you're interested in, the answer is either 2004-2006 or 2017.