DaysBetween calculating strange numbers

0
Hey community,    I develop a small application to track tasks. every task has a Start- and a Enddate. Based on those two values I want to calculate the duration in days this task will take. I’m using a nanoflow for this linked to the OnChange Events of both datepickers.    The strange thing I noticed is, as soon as the duration exceeds 59 days, its not calculated correctly anymore. Instead of 60 days it calculates 59.96 as duration and this also counts for every even longer duration. Please take a look at the screenshots I attached showing the nanoflow and two different inputs in the datepickers. Nanoflow: Correct calculation: Wrong calculation:   BR Syman
asked
1 answers
0

Caused by: 26 mrt 2023 - Daylight Saving Time Starts?

answered