differenceInDays
Modified on Tue, 22 Aug 2023
Description
Use this function to get the number of full days between the given dates.
Syntax
differenceInDays(dateLeft, dateRight)
Returns
Return Value | Description |
---|---|
Number | Number of full days between the given dates. |
Sample
Example | Result | Description |
---|---|---|
differenceInDays (2022-1-1, 2023-4-1) | 455 | The differenceInDays function with these dates, which will return the number of full days between the two dates. In this example, the output will be 455. |
To view all the Date functions, click here.
See Also
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article