Variable rate cost energy depends of the hours

hi all. there is a way to use variable rate price of energy . only see with peak consume, not hours
this is the rates

8am to 6pm normal
6 pm to 10pm high
10pm to 8am low
thanks a lot!!