Forum Discussion

PalaniVelu's avatar
PalaniVelu
Community Member
13 years ago

How to generate current date and time?

Hi,

I want to know how to generate the current date and time that has to be displayed on the screen.

This has to be developed using variables. As I am not familiar on how to do this using Articulate Storyline.

Would be grateful if someone can guide me on how to do this. Will appreciate if you could attach source file my reference.

Attached is a screenshot of what I require.

14 Replies

  • JacobOlivier's avatar
    JacobOlivier
    Community Member

    Hello,

    All ze best for 2014...

    I have exactly same problem than Palani concerning showing current date.

    I can't see anything while publishing, and using Internet Explorer...

    I already have a look to the tutorial video, but even being very careful, I can't find reason...

    Any additional idea?

    Olivier

  • AnnaVann's avatar
    AnnaVann
    Community Member

    Should you be able to copy/paste the text variable among multiple slides? I was able to create the variable, but when I copy it to another slide, it doesn't work.

  • Hi, Anna.

    Thank you for reaching out!

    I'm not sure if you're asking a generic question on copying variables or specifically asking about the Javascript example in the video posted. 

    When you create the variable, you can insert a textbox with a reference to the variable (it will look like %variablename%). If you copy and paste that textbox to other slides, does it work?

    I am not familiar with Javascript, so hopefully others from the community will chime in, but executing it on the first slide should still apply to other slides that reference that variable.

    Let me know if this works!