getMonthsDiffBetweenDates
Calculates the difference (in months) between two dates.
- Use
Date.prototype.getFullYear()
andDate.prototype.getMonth()
to calculate the difference (in months) between twoDate
objects.
Calculates the difference (in months) between two dates.
Date.prototype.getFullYear()
and Date.prototype.getMonth()
to calculate the difference (in months) between two Date
objects.