Test if a specific month is selected then do something
I have a module,and within it I use Time as a Page selector in it.
My time is formatted like this : Calendar Type : Calendar Months/Quarters/Years, Fiscal Year Start Month: Jan, Current FY : 1 Jan 2018 - 31 Dec 2018.
For a specific line item in my module I want to test something like this : IF Jun is selected THEN do a 1st instruction ELSE IF Dec is selected then do a 2nd instruction ELSE BLANK .
My problem is that I don't know how to test if Jun or Dec is selected from pages, instead of other months.
I tried something like this :
- IF MONTH(TIME.'Jun 18') THEN
- IF ITEM(Time) = Time.Jun THEN
None of them worked. Please help me!
Thank you & best regards