4 Replies Latest reply: Mar 19, 2015 12:25 PM by Smriti Jaiswal RSS

    In year to date function

      I have a doubt about inyear to date function



      inyeartodate(Tempdate, $(vToday),0)* -1 as CurYTDFlag,

      inyeartodate(Tempdate, $(vToday, -1)* -1 as LastYTDFlag,

      in the first part of the script it says -1 as CurYTDFlag and in the second part it says that -1 as LastYTDFlag. So CurYTDFlag will be -1 or LastYTDFlag, will be -1? can someone clarify on this.