|Get in Touch|
|Book a free consultation with our experts and take your learning to the next level.|
To display the date and time in Storyline 360, follow the steps below:
Step 01: Open a new project in Storyline.
Step 02: Create a text variable, name it as per your choice. In my case, I named it as “dateAndTime”
var player = GetPlayer();
player.SetVar(‘dateAndTime’, new Date(new Date().getTime()).toString().split(‘GMT’).trim());
Explanation of the code:
- GetPlayer() – Is a player object written by articulate.
|Get in Touch|
|Transform your classroom training material into eLearning. Get in touch with us to know more.|
- SetVar() – Is a function available inside GetPlayer() object which accepts our variable as first parameter and its value as second parameter.
- GetTime() – Is a function inside Date() object that returns current date and time running.
- toUTCString() – Is also a function that converts the date into a UTC format String.
Step 04: Add a text box on the slide with your variable name between “%” signs as shown below.
Articulate Storyline 360 – Free Training Tutorials
Swift eLearning Services provides a valuable opportunity for individuals who are enthusiastic about acquiring skills in using Articulate Storyline 360, a popular e-learning authoring tool. Through these free tutorials, individuals can access valuable resources that will help them understand the intricacies of Articulate Storyline 360. The tutorials cover a wide range of topics, including how to create animations, interactions, and assessments, among others. The company offers these free tutorials to enhance the learning experience of users, making it easy for them to navigate the software and create high-quality e-learning content.
Please click on the below link to view our Articulate Storyline training videos.
Frequently Asked Questions (FAQs)
To get the value of Storyline variables, you can use the ‘player.GetVar’ method. This method takes the name of the variable as its parameter and returns the value of the variable.
In other words, you can use ‘player.GetVar’ to pull information from Storyline variables and ‘player.SetVar’ to push information into Storyline variables.
Thanks for posting your comment.
We will look into this and get back to you as early as possible.