Calculate time difference between two date picker values

Hi All.

I’m just testing the new dateTimePicker item in Xojo, and can’t seem to find any way that I can do a calculation. There is nothing like .ToSeconds or .Timefrom1970 sort of thing.

How do you do that? Or is it possible.

Update: I figured out how to do it. I guess my fumble finger typing didn’t show the SecondsFrom1970.

With that it was no problem.

Regards

1 Like

The value is a DateTime and that class has a SecondsSince1970.

1 Like