could u please tell me What is the Output?
Posted: Tue Nov 18, 2008 1:23 am
If MonthFromDate(SVarReportDt) = 9 or MonthFromDate(SVarReportDt) = 10 or MonthFromDate(SVarReportDt) = 11 then
DateFromDaysSince(-1, StringToDate(SVarYear : "-" : SVarMonth : "-01") ) else
DateFromDaysSince(-1, StringToDate(SVarYear : "-" : "0" : SVarMonth : "-01") )
DateFromDaysSince(-1, StringToDate(SVarYear : "-" : SVarMonth : "-01") ) else
DateFromDaysSince(-1, StringToDate(SVarYear : "-" : "0" : SVarMonth : "-01") )