HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <p>Click the button to display the numbers of milliseconds between a 1995, 04, 19 and midnight January 1, 1970.</p> <button onclick="myFunction()">Display Milliseconds</button> <p id="point"></p> <script> function myFunction(){ var d = Date.UTC(1995, 04, 19); document.getElementById("point").innerHTML = d; } </script> </body> </html>
OUTPUT
×

Save as Private