HI @kat7777777 , I hope you are not using the same code that I have used? You need to use your columns names in the code.
TodayDate: Is column in my list which hold todays date and
DueDate: Is column in my list which hold due date.
Can you confirm on the same please?
If you can send me the screenshot of formula and the screenshot of column names?
------------------------------------------------------------------------------------------------------------------------------
I hope this helps.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.
Thanks,
ANB