Explore the community Forums Lectora Lectora Questions & Answers Date Calculations in Lectora Reply To: Date Calculations in Lectora

#381660 Score: 0
Profile photo of Jason Dalrymple
Jason Dalrymple
wise owl
curious george
friend finder
picture perfect
54 pts

Since I’m home, I can’t look at your sample – However, I had what I think is a similar question several months ago where I wanted to set a drop down to display a range of dates based on the current date:

Dynamic date as initial value…

If I understand correctly, you’re getting the date that the user last took the course then restricting retaking it for 10 days from the initial completion date. Using a similar method, you could change the “-30” to “-10” and do the compare, thus overcoming the need for the math function. The tricky part might be if the user took the course on 1/30 and is trying again on 2/10, which is technically 11 days later.