JavaScript Reference/Javascript Methods/getUTCMinutes

Материал из Web эксперт
Перейти к: навигация, поиск

"getUTCMinutes()" Example

   <source lang="javascript">
   

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


     </source>
   
  


"getUTCMinutes()" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |Date | +----------------+--------------------------------------------------------------+

     </source>
   
  


"getUTCMinutes()" Syntax, Parameters and Note

   <source lang="javascript">

Note: Returns the minute based on UTC time. Return value: 0 to 59.

Syntax:

dateName.getUTCMinutes()


     </source>