The upbeat, instantly recognizable track featured in the trailer for Diary of a Wimpy Kid: Dog Days is "Summertime" by DJ Jazzy Jeff & The Fresh Prince.
Released in 1991 on the album Homebase, this Grammy-winning hip-hop classic perfectly encapsulates the carefree, sun-soaked vibe of summer vacation—the central theme of the third Wimpy Kid film. Its laid-back groove and nostalgic lyrics ("School is out, it's sort of a buzz / But back then I didn't really care much") make it an ideal musical shorthand for the freedom and mischief Greg Heffley chases.
The song's inclusion signals the movie's tone: lighthearted, nostalgic, and focused on the universal joys (and chaos) of a kid's summer break.