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