Forum Discussion
Javascript for current time and dates
Has anyone experienced glitches with their date/time variables? I have a project (same as Claire's above) with numerous date/time variables and it works sometimes so I believe the javascript/triggers/variables are accurate. However, they stop working sometimes.. seemingly random, but wondering if the community has any advice. A few pieces of additional info:
-the storyline project file is really large with a lot of project variables.. could that be effecting it?
-the variables were previously numbered (ie. Date1, Date2, etc) and SL seemed to be renaming them to higher numbers, so we switched to letters (ie. DateA, DateB, etc) but no luck
-this is tested and posted on a website so it is not the previously mentioned viewing problem
I can't attach the full project for proprietary reasons, but here are the variables, an example slide of trigger, and the javascript.
Thank you in advance!