JavaScript Tutorial/Date/getUTCHours

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

Date.getUTCHours()

The getUTCHours() method returns the hour portion of the date expressed, converted to universal time and expressed as an integer from 0 (12:00 a.m. midnight) to 23 (11:00 p.m.).



   <source lang="javascript">

<html> <head> <title>A Simple Page</title> <script language="JavaScript">

</script> </head> <body> </body> </html></source>