Hello to all,
Well the solution is really simple, this is how I did it.
Ok first of all you have to set your time on the router with the following command
/system clock set date=DATE time=TIME
Now you will be able to change or reset the counters at a specific date and time.
The second thing is to create a scritp so you can scheduled it
/system script add name=resetcounter
then you have to fill the script, you can do it with this command
/system script edit resetcounter source
then the terminal will open an editor and you have to write this line
/ip hotspot user reset-counters
and press ctrl+o to save and quit
now the script to reset the user's counter is done...now you have to schedule the script in order to run the script at a specific date
/system scheduler add name=dateresetcounter on-event=resetcounter
interval=1d start-date=DATE WHEN YOU WANT TO START YOUR RESET
and that would be all.
if you require any further explanation just write