The getUTCDate() method returns the day of the month converted to universal time and expressed as an integer from 1 to 31.
<html> <head> <title>A Simple Page</title> <script language="JavaScript"> <!-- dateVar = new Date(); alert(dateVar.getUTCDate()); // --> </script> </head> <body> </body> </html>