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