9 Replies Latest reply: Aug 25, 2015 2:59 PM by Vinoth Rajan RSS

    Loop Counter Value Calculation

    Vinoth Rajan

      Hi,

       

        I am trying to creating a new calendar which associates next three months dates for a current month.

        Ex: Aug month associated to Sep,Oct and Nov dates similarly Sep associated to Oct,Nov and Dec dates and so on.

       

        For creating this, the loop counter value should be sum of number of days in next three months as per my understanding.

       

      so how to calculate the "sum of number of days in next three months"  in the while statement.

        i.e while iterno()<= Calculation condition.

       

      Please help me out

       

      Thanks in advance

       

      Regards,

      VR