User:TheZombiemelon/JavaScript

How to get time
onclick="document.getElementById('demo').innerHTML = Date">