JavaScript Tutorial/Date/getUTCFullYear

Материал из Web эксперт
Версия от 11:25, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

Date.getUTCFullYear()

The getUTCFullYear() method returns the year as a full four-digit number converted to universal time.

The following example uses the getUTCFullYear() Method to Return the Year



   <source lang="javascript">

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

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