1 Reply Latest reply: Oct 19, 2015 7:21 AM by Hans Müller RSS

    Problems with While loop



      I have big trouble with an while loop. The goal is to build an Interval which should start by actualStartTime and end with actualEndTime. But the actualEndTime should not by included in the Interval.


      For example:

      actualstartTime : 08:00:00

      actualendTime: 08:05:00


      Interval: 08:00:00; 08:01:00; 08:02:00; 08:03:00; 08:04:00 ! That's the right solution

      But sometimes the while loop creates from 08:00:00 - 08:05:00 ... And that#s not correct. But I don't know why is happend?!


      Please look at my example.


      Thank you... !