Phineas and Ferb is set during summer vacation, when the boys are free from school. While no exact year is specified, cultural references place it around the late 2000s to early 2010s:
However, the show emphasizes the timelessness of summer—an idyllic, yearless season of endless adventure.