Solved
Display or hide a block based on date parameters
I have a user who is looking to hide/display blocks of questions based on date parameters. I'm sure this is possible, but I'm having a hard time working it out in my head.
Anyone have any suggestions?
Best answer by TomG
Since she is defining the dates (not user input or coming from someplace else), she could just use YYYYMMDD format and use them as numbers. To get the current date in that format use:
```
currentDate = ${date://CurrentDate/Y}${date://CurrentDate/m}${date://CurrentDate/d}
```
Then branch logic like the following (for the month of August):
```
If currentDate > 20180731 And currentDate < 20180901
```
View originalLeave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.