By the letter of the law "when children are present" does not specifically mean during school hours, or even that the children have to be visible.
Strictly speaking, even if the speed limit is 45 MPH when children are not present (well outside school hours), and it is 10 PM and you are doing 45...