On Tuesday, 11 August 2015 at 19:56:02 UTC, Suliman wrote:
Date startDate = Date.fromISOExtString("2014-08-01");
[...]
        Date nextday;

        while (nextday < currentDate)
        {
                nextday = startDate + 1.days;
                writeln(nextday);
        }

startDate doesn't change, so every iteration just sets nextday to 2014-08-01 + 1 day = 2014-08-02.

Reply via email to