Hi Jeff,
TIME() is indeed a variable (or more precisely, a function) that KM understands, but in your case, it sounds like you want HOUR():
Check Current Hour.kmactions (1.4 KB)
This way, the macro can check if the current hour is 22 or 23 (which covers all the minutes from 22:00 to 23:59) and only proceed with the macro if it is. I hope this helps!