1360. Number of Days Between Two Dates
https://leetcode.com/problems/number-of-days-between-two-dates
Description
Write a program to count the number of days between two dates.
The two dates are given as strings, their format is YYYY-MM-DD
as shown in the examples.
Example 1:
Example 2:
Constraints:
The given dates are valid dates between the years
1971
and2100
.
ac
Last updated