Forum Discussion
Add meeting invite to Calendar
Thanks Cary!! I have also been looking for something like this. 😊
I was wondering if there was a way for the Start date to automatically populate with the current date?
I am using the below JavaScript to generate the date within one of my courses:
let currentTime = new Date();
let month = currentTime.getMonth() + 1;
let day = currentTime.getDate();
let year = currentTime.getFullYear();
// Putting it together
let dateString = month + "/" + day + "/" + year;
//Pushing data to Storyline
let player = GetPlayer();
player.SetVar("CurrentDate", dateString);
player.SetVar("month", month);
Also, and I don’t mean to complicate things but is there also a way to add 2 years to the current date?
We have a course that External contractors need to take and the training expires after 2 years. I would like for them to have the option to add a calendar reminder of when the training has expired.
Thanks again, I know that this question was from someone else but as I said I also looking for something like this.