If clause with time in between two other times

Hello,

is it possible to form a trigger like:
when the button is pressed
if the current time is in between 6:00 and 14:00
then…

My problem is mainly with the if clause, I have not found any trigger logic that would do what I need it to.

Thanks in advance for any help!

Hey @chr_blnck, the trick here is to use two statements in the ‘if’ clause. I’ve put a screenshot below, but go ahead and substitute in the times you care about and it should work.

1 Like

Thanks a lot John, that makes so much sense actually!!!

The +12 and +10 are 10:00 and 12:00 I suppose?

@chr_blnck yup, you got it!