Mikrotik Hotspot Users Time Restriction

Hi,

I am new to mikrotik which is what I use presently on my VPN network. I have about a thosand users at different sites all accessing a particular server. I want to implement a hotspot that will allow my users at the remote sites to access the server at all times however their internet usage ( i.e visit to websites) will be restricted to only 4 hrs a day. For the local users at the location where the server is located they will also be able to access the server which is on their local network while internet usage will be restricted to only 4 hrs a day.
My remote users are connected to the server via satellite.

I need to know how to proceed in implementing what I want to achieve. All contributions will be appreciated.

Thank you.