According to documentation (https://world.mendix.com/display/refguide5/Between+date+function+calls) the result of daysBetween(dateTime(2007, 2, 13, 1, 1, 1), dateTime(2007,1,1,1,1,1)) should be '32.5'. In my project the result is '43' which seems correct to me, but does not comply to the documentation. Where do I go wrong?
I'd chalk it up to a copy/paste error in the documentation pages, your expected result seems correct.
Sebastiaan van den Broek
Thanks for letting us know Gerard, the documentation has been updated.