Diary of a Wimpy Kid: Cabin Fever takes place over one week in late winter/early spring.
The exact location is unspecified, but context strongly implies a rural area near a lake or body of water (ice fishing and snowmobiling are mentioned). The Heffley family goes on a cabin trip with extended family—a recurring theme in the series.