The getMinutes() method returns the minutes portion of the Date object expressed as an integer from 0 to 59.
<html> <head> <title>A Simple Page</title> <script language="JavaScript"> <!-- dateVar = new Date(); alert(dateVar.getMinutes()); // --> </script> </head> <body> </body> </html>