So I have flatpickr working in qualtrics with this code: ! And it returns a value of something like this: 2018-05-30 to 2018-05-31 I want to take the returned value split it at the " to " and then convert each of those values to epoch time so I can subtract them and find the number of days in the range. So far I have this: ! But I can't seem to get the slipt to work, most of the code was borrowed from another post, sorry my JS is not great.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.