different price depending the time

Hi, is it possible to set different prices depending the hour (or predefined time slot). For example, can you set $10 for booking by 7AM but it would cost 20$ at 8PM, being the same service and same service provider?

Thanks a lot.