onclick="document.getElementById('demo').innerHTML = Date()">
Click me to display Date and Time.</button>
Did You Know?
in 1997. ECMA-262 is the official name of the standard. ECMAScript is the official name of the language.