```
class Solution {
public:
    int daysBetweenDates(string date1, string date2) {

    }
};

```

I have this function. Suppose I have parameter

```
date1 = "2020-01-15", date2 = "2019-12-31"

```

How can i find them as Title? Thank you so much!