<html> <body> <button onclick="var myDate = new Date(); myDate.setUTCMonth(2); alert(myDate);"> Date: set UTC Month </button> </body> </html>