the One Piece anime series has been ongoing for many years, and a significant amount of time has passed within the story. However, it's important to note that the passage of time in the One Piece universe can be a bit ambiguous and is not always explicitly stated.
The anime series premiered in 1999, and as of that time, the story had covered a period of roughly two years within the One Piece world. However, since then, the series has progressed through various story arcs, and more time has passed.
By the end of 2021, in the anime, the story had advanced to the "Wano Country" arc. It is difficult to provide an exact estimate of the total amount of time that has passed from episode 1 to that point, as the anime tends to compress and extend the time frames of various events.
Furthermore, it's worth mentioning that the One Piece manga, created by Eiichiro Oda, serves as the source material for the anime. The manga and anime can sometimes differ in terms of pacing and details.
To obtain the most accurate and up-to-date information on the passage of time in One Piece, I recommend referring to the latest episodes or consulting the One Piece manga.