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