I have an item that returns one year read from a file (the item is OK i can see it in the lastest data) and i want to check it against the current year (in fact check if its less than current_year-10) I know that there is a Date function, but when i try to put it in the trigger it gives this error
{template:key.last()}<2009
I also tried server_name:system.localtime, but it gives another error (value don't exist)
Does anyon know how can i make it without the 'magic number', with the year read in the server?
- Incorrect trigger expression. Check expression part starting from "<{DATE}".
{template:key.last()}<2009
I also tried server_name:system.localtime, but it gives another error (value don't exist)
Does anyon know how can i make it without the 'magic number', with the year read in the server?