Calculate whole or part months, Adobe pro 2017
Hello again,
I am trying to calculate how many whole or part months there are between two dates, chosen with a date picker so the dates are not fixed.
I have scoured this forum and the web in general but I can't find an example that closely enough matches my problem, which I think is quite straigthforward, however I'm just learning js and quite a novice.
I have two date fields: StartDate and EndDate.
I have a third field (Duration) where I'd like the number of months or part months between these dates to be displayed.
I have looked at the various links posted in other people's questions but none of these seem to answer my problem becuase there's often some other complication which they need help with, such as needing a particular time zone, or particular format.
Please can anyone help?
TIA,
Su