Days Between (Unbounded Date Range)
Given two valid date strings, date1 and date2, return the absolute number of days between them.
Each date has format YYYY-MM-DD:
YYYYis an arbitrary positive integer and is not restricted...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
