Adobe Pro Javascript Datepicker - If within 30 days from today
Hello all, I'm not a javascript coder by any stretch, but I do understand coding... I'd like, if someone is willing, to help be with a script that changes a datepicker (dp1) strokeColor based on whether or not it's within 60 days (yellow) or 30 days (red) from today - all using the format yyyymmdd (in the Army lol)
For example, today is 20200827 and if the date selected is 20201005 then the border of the date picker would turn yellow...
Lastly, a button that would update/refresh the datepicker to ensure it was still accurate strokeColor..
Apologies for not having a working solution, I'm a noob...
