Date interval confusion

DateInterval??

I’m not seeing this in the documentation… (http://documentation.xojo.com/)

I could really use this function - can someone point me to documentation on it?

http://xojo.helpdocsonline.com/dateinterval

Paul: thanks for the (amazingly) quick response.

I’m confused about why there are multiple documentation sites;
can you help me understand which sites to use and when?

I’ve spent a bunch of time trying to do this date interval stuff,
as I had no idea such a function/class existed.

Also - any idea why a search for DateInterval in http://documentation.xojo.com/
turns up nothing useful?

Confused but thankful!
oscar.

update: when attempting to define a variable of type DateInterval,
I get the error “there is no class with this name”

The new Doc site is for the new iOS and Xojo frameworks.

An overview of the new Xojo framework is here: http://xojo.helpdocsonline.com/the-new-xojo-framework

And you can also watch the webinar from last week.

I suspect the reason you are getting the “no class” error is because you did not use the full name (Xojo.Core.DateInterval) or did not put a Using statement at the beginning of the method (Using Xojo.Core) so that you can just refer to the class as DateInterval. This is all covered in the overview.