Jump to content
  • 0
Sign in to follow this  

Time Check



How can I put a button to check the current time? Like a time check thingy. 

Just want to check the time. (It's not like I don't have a clock.) It's just that, I can't seem to display Timestamp. 


Any help is appreciated! :)

Share this post

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Not quite good in Javascripts but you can use this one I tried.

Create an HTML Block and disable HTML Editor. 

And then paste this code:

<input type="button" value="Time Check" onclick="getElementById('timecheck').innerHTML=Date()"></button>

<p id="timecheck"></p>

Let me know if this helps. 

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...