How can I enable a device to connect wifi for only 2 hours per day without setting hotspot

The problem I do have with this, is that the kids uses internet on the cell phone if I turn of the Wifi.
Either their own phone or friend phone.