Notifications
Clear all
Topic starter
Could someone let me know if there is a way to set a visibility region in VFE to only show if today's date falls within a range of dates. Thank you!
Posted : December 20, 2016 4:51 am
Off the top of my head this might work:
{
if (DURATIONDAYS(str(._TODAYSDATE),beginDate)>= 0 AND (DURATIONDAYS(str(._TODAYSDATE),endDate) <= 0 THEN
RETURN "TRUE"
ELSE
RETURN "FALSE"
ENDIF
}
beginDate = the beginning date of your range
endDate = the end date of your range
Again, this is untested, but might get you headed in the right direction.
Posted : December 20, 2016 5:50 am
Topic starter
I'll give that a try. Thank you for your response.
Posted : December 20, 2016 6:47 am