Get DateInterval between 2 dates in days

Trying to convert some code from Date to DateTime. If I have some code:

dim d as DateTime = DateTime.Now
dim s2 as new dateTime(2020, 1, 1, 0, 0, 0)
dim s as DateInterval = d - s2

DateIntervall now shows me:

Year = 1
Month = 1
Days = 16

How do I get the total of the days? Xojo 2020r2.1.

I would do it like this:
Var Days As Integer = (d.SecondsFrom1970 - s2.SecondsFrom1970) / 60 / 60 / 24

Looks like a good idea. The DateInterval wasn’t made for such calculations. A pity.