Calculate total days after a specific date has passed

I need to function that once a student registers inside a course, chapters are opened based on elapsed dates. For example chapter 1 opens right away, Chapter 2 will be opened 1 month later. How do you use math to subtract dates to know it's 1 month passed?


Thanks,

Discussion (2)

A few older threads that deal with course expiration dates. I think you can repurpose the expiration methods to achieve what you want.


No scripting: https://lectora.com/forum/showthread.php?t=2718

Some scripting: https://lectora.com/forum/showthread.php?t=17092

I have an easy javascript solution. Please send me an email at the addr below.

Discussions have been disabled for this post