Web Proxy

Hi
I have configured a transparent proxy in Mikrotik and it’s working perfectly but I need a way to enable time-based internet access for certain IPs on the LAN. How do I create such ACLs? The time they should be able to access internet should be from 12 noon to 1:30pm and from 4:30 pm till morning. No internet access from 7:30 am to 11:59am and also from 1:31pm to 4:29pm. Can anyone help with that? Clock is already set properly.