Limite_rate by hours

hi, do you know how can I limit_rate based on hours? for example during
2 am
to 8 am rate would be 20K and in other hours it would be 100K.

thanks