This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

⚠️ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use 🔗 Github Discussions to ask your questions.

How to compare datetime in Rule

Hello,
I want to compare trigger’s datetime with current time in rules.
For expample, some action will only execute on work time, which means trigger time should between 9:00 and 18:00, Monday - Friday.
I can’t find any jinja example timediff_lt or timediff_gt in example pack.
Any suggestions?