Get diff months from 2 dates

Last updated Aug 29 2021

window.ftGetDiffMonths(fldIDFrom, fieldIDTo, format);
This JS function will allow you to find the difference between 2 dates - in months.
* Please note: The permitted formats for date are:
"dd/mm/yyyy'
"mm/dd/yyyy"
"yyyy-mm-dd"

For example:
window.ftGetDiffMonths('fld7','fld10','dd/mm/yyyy');
The above code will calculate the difference in months between field fld7 and fld10.




CommentsLogin Required
Didn’t find what you were looking for?
Try the following for assistance or Use the Search box.