30 days between todays date and a date from an input, then carry out a function

Works like a charm! Thank you @tony-brunsman :slight_smile: Do you have any advice on the onViewpoint enter line of code? I’m sure I’m missing something silly but it’s the only work around I can find atm… basically each button needs to come into view before deciding what ‘state’ the button is in and the code is executed. Thanks again, much appreciated!