<html> <body> <button onclick="var myDate = new Date(); myDate.setUTCSeconds(12); alert(myDate);">SETUTCSECONDS</button> </body> </html>