Forum Discussion
ClaireBallan465
7 years agoCommunity Member
Javascript for current time and dates
Hello,
I really need some help. I want to have current dates display on columns in an elearning course that is a software simulation and I need it in different formats. Does anyone know what Javascript I would need to add that would accomplish this? I would like to display date and time in the following formats:
Fri, 1 Dec 17 1334 (using a 24 hour clock and minutes)
01Dec
1 Dec 17 1334
Help would be greatly appreciated. Thank you!
- EricaFlynnCommunity Member
Hi,
How can I test the output from the javascript? It seems that the script doesn't run in preview. I'm trying to add simple datestamp without the time.
Thanks!