Hi the dayOfWeek function is defined in the documentation here: https://docs.espocrm.com/administrat...etimedayofweek; the doc is wrong.
The system has Monday as day 0 not Sunday which is what the doc says.
Just spent ages trying to debug my code, transpires that the code was correct. ;-)
Thanks.
The system has Monday as day 0 not Sunday which is what the doc says.
Just spent ages trying to debug my code, transpires that the code was correct. ;-)
Thanks.
Comment