window.ftGetDiffMonthsFromNow(fieldID, format);
This JS function will allow you to find the difference between a certain date and the current date - in months.
* Please note: The permitted formats for date are:
"dd/mm/yyyy'
"mm/dd/yyyy"
"yyyy-mm-dd"
For example:window.ftGetDiffMonthsFromNow('fld3','dd/mm/yyyy');
The above code will calculate the difference in months between field fld3 and current date.