Subtracting dates to figure left over months on a form
Have a form that I use for signing up contractors for a yearly program. While the yearly signup begins 3/31/xxxx, I may sign them up during the year and it is a prorated fee based off the difference of what date they signup before that 3/31/xxxx date. Also we deduct one extra month from the time period and that is their fee.
Example:
3/31/2021 - 9/10/2020 = 6 months - 1 month = 5 months
Both dates have a place on the form along with the final 5 months which shows as a number.
Looking for the code to do the math on my form. Tried some Java Code i know and it isn't working out.
Thank you for looking at this and any help you can contribute.
