nth day of year script
I need a script to calculate the nth day of the year. I would like to input a date on a form, and then have a script in a different field that takes that date and tells me the nth day of the year for the date I input in the other field. Example: I would like to input May 31, 2019 in a date field and the in another field put on the script which would using that date and show the number 151 in this case. I have searched the net and found some discussion but nothing that works in adobe. (they go on and on about time zones and leap year etc.) I just need something simple that works in adobe.
