OK so in English I want to do this...😕
Update the Valid field to NO if today is 21 days later than the Date in the Input field
So it is the 21 days later bit that has me confused on how to do
here is my attempt...not that I expected it to work....but its kind of the idea of what I want...
UPDATE DFAIT SET Valid = 'NO' WHERE UNIX_TIMESTAMP() >= UNIX_TIMESTAMP(InputDate++(86400*21));
Cheers thanks!