I need to redirect my website visitors to another websites basing of time. For exapmple between 00:00 to 10:00 any visitor to my wbsite will redirect to xxx.com and any visitor from 10:00 to 15:00 visitrs will redirect to yyy.com
Obviously, this can be done. However, in a round world, you need to specify the time you’re considering and what time zone your server is using for its clock.
Test your redirections with a RewriteCond using %{TIME_HOUR} and two digits (unless you include %{TIME_MINUTE}, too).