Solved
How do I subtract between two dates in a survey?
I have two seperate questions in a survey that are dates. I would like to calculate the difference between these two dates as this is a component of determining a participant's eligibility. Does anyone know specific javascript code that I can utilize in order to calculate this difference and add it to the survey logic?
Best answer by MohammedAli_Rajapkar
Hi @kducharme
If you are familiar with javascript then you can implement something similar to below.
https://stackoverflow.com/questions/2609513/jquery-calculate-day-difference-in-2-date-textboxes
View originalIf you are familiar with javascript then you can implement something similar to below.
https://stackoverflow.com/questions/2609513/jquery-calculate-day-difference-in-2-date-textboxes
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.