diff --git a/snippets/getDaysDiffBetweenDates.md b/snippets/getDaysDiffBetweenDates.md index 91e4695a3..3dbde0e54 100644 --- a/snippets/getDaysDiffBetweenDates.md +++ b/snippets/getDaysDiffBetweenDates.md @@ -5,7 +5,7 @@ tags: date,intermediate Calculates the difference (in days) between two dates. -- Subtract the two `Date` object and divide by the number of milliseconds in a day to get the difference (in days) between them. +- Subtract the two `Date` objects and divide by the number of milliseconds in a day to get the difference (in days) between them. ```js const getDaysDiffBetweenDates = (dateInitial, dateFinal) =>