From c575e9b23b80baf324c13d3c23cb46ed3f29b835 Mon Sep 17 00:00:00 2001 From: Isabelle Viktoria Maciohsek Date: Sat, 24 Apr 2021 12:42:47 +0300 Subject: [PATCH] Update getDaysDiffBetweenDates.md --- snippets/getDaysDiffBetweenDates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) =>