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.