2 Replies Latest reply: Apr 10, 2017 9:51 AM by Sunny Talwar RSS

    Set statement.

    SUPRIYA DORNALA

      Hello All,

      Could any one of you please explain the working of below statement.

       

      SET f_month_difference = NUM(((YEAR($2) * 12) + MONTH($2)) - (((YEAR($1) * 12) + MONTH($1))) + 1);

       

      what is YEAR($2), Month($2)  an dhow is taking the values ??

       

      Thanks and Regards,

      Supriya.