Use the Hour function.
Hour(GetCurrentDateTimeUtc()) >= 9 and Hour(GetCurrentDateTimeUtc()) < 17
This will return true if the hour is greater than or equal to 9 and less than 17, so from 9:00 am to 4:59 pm.
A very important note: you need to know your timezone offset. GetCurrentDateTimeUtc returns the time in UTC. You are very likely not in that timezone and need to account for your offset. So 9:00 am in UTC is actually 12:00 if your offset is +5 for example.
https://help.mypurecloud.com/articles/datetime-values-in-architect-flows-and-daylight-savings-time-dst-calculations/ has a good discussion of how to account for timezone offsets, as well as Daylight Savings Time.
------------------------------
Melissa Bailey
Genesys - Employees
------------------------------