secondsBetween

0
Syntax = secondsBetween(date-first, date-last). If the date-first is before the date-last i understand from the documentation, the result is a positive integer). However, if the date-first is 8-4-2015 and the date-last is 1-1-2113, the integer returned is exactly right but the sign is negative. Is this a mendix-error or is there a simple explanation for this?
asked
2 answers
2

I have tested this in 5.14.0 and in 5.14.1, with the following results:

  • In 5.14.0 the result is: -3084220800
  • In 5.14.1 the result is: 3084220800

I would conclude that this is a bug in 5.14.0, and that it has been fixed in the newer release.

answered
0

Should Mendix application testers with a new version also test processing of basic Mendix functions?

answered