This is explicitly stated in the play's opening scene, where we see Harry dropping his youngest son, Albus Severus Potter, off at Hogwarts. The play then takes place over the course of a single school year, with the events occurring mostly during Albus's first year at Hogwarts.