<html> <body> <button onclick="var myDate = new Date(); myDate.setUTCMilliseconds(20); alert(myDate);">Date: set UTC Milliseconds</button> </body> </html>