Edit in JSFiddle
JavaScript
HTML
CSS
Result
<button onclick="this.innerHTML=Date()">The time is?</button>