Re: Getting Current Month and Year & Previous Month and Year
I have this in my master calendar:
Mastercalendar: Load TempDate as ActualDate, monthname(TempDate) as YearMonth, monthname(TempDate) as MonthYear, num(month(TempDate)) as MonthNum, day(TempDate) as Day, weekday (TempDate) as WeekDay, week(TempDate) as Week, year(yearstart(TempDate,0,4)) as FiscalYear, InYearToDate(TempDate,$(vToday),0) * -1 as CurYTDFlag, InYearToDate(TempDate,$(vToday),-1) * -1 as LastYTDFlag
So I'm trying to show the max Month and max year in a text box. I'm doing this so I can update my reports in NPrinitng.