Using Java script for Times
Sep 23, 2016
By
Walt Gill
Hi everyone,
I am trying to place a variable in a course that returns the system time like "9:57 AM"
Then I want to use that same variable to add one hour to the current system time. So it would read "10:57 AM".
I am having a hard time getting the date to remove the "9/23/2016" and sometimes the time will show "9:9" if in the morning and then "21:9" I can't seem to get AM or PM and it removes the 0 from the 9:09 PM time.
ANY HELP?? Thank you!
1 Reply
Hi Walt!
Not something I'm familiar with, but I can direct you to a similar post with some assistance.
Hopefully that sets you on your way, and if not hopefully another community member will be able to chime in to assist.
This discussion is closed. You can start a new discussion or contact Articulate Support.