Update snippet descriptions
This commit is contained in:
@ -3,7 +3,7 @@ title: getMonthsDiffBetweenDates
|
||||
tags: date,intermediate
|
||||
---
|
||||
|
||||
Returns the difference (in months) between two dates.
|
||||
Calculates the difference (in months) between two dates.
|
||||
|
||||
- Use `Date.prototype.getFullYear()` and `Date.prototype.getMonth()` to calculate the difference (in months) between two `Date` objects.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user