Action - only trigger by certain time (night)

Action - only trigger by certain time (night)

Hi, I want to limit the triggering of my action by a time.
A door sensor which should me only alert by night (from 22 to 06).
I didn't find any variable in my device which holds the time.
Can't I just take the current time by some kind of variable and a certain time format?

I didn't found any further information here: