Forum Discussion
Setting an expiry date for published content
Now that I think about the logic of the trigger, you may need to create 3 separate triggers to launch the expired layer.
The first trigger is if year1 is greater than or equal to a specific year show the expired layer. So if the course expires in 2014, that would be the year.
The next trigger shows the expired layer if the month1 and year1 has been passed. This covers a scenario of a course expiring within a calendar year, for example, June 2013.
The final variable is as in my previous post. This covers a course expiring mid month within a calendar year.
This is a 3 point date validation:
The year is less than the expiration date,
The month and year are less than the expiration date,
and
The day, month, and year are less than the expiration date.
Any expiration will show the expired layer.