Hi @ciprianpopovici,
Have you solved your problem?
Do you want to deny order after 10 am everyday?
Could you please if there is need to re-trigger the order after 24:00?
I agree with @zmansuri that you could use the Hour() function to get the hour number with 24 hour format. However, if you just want to deny order from 10:00 to 24:00 and re-order by 10:00 next day, I think you should add something different.
If(
Hour(Now()) > 10 && Hour(Now()) <= 24,
Notify(
"No order after 10:00 am!",
Error
),
Patch(
Product,
{Title: "NewItem"}
)// Here replace with your Patch() formula
)
Hope this could help you at some degree.