JavaScript Tutorial/Date/toUTCString

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

Date.toUTCString()

The toUTCString() method returns a string representing the universal time of the Date object.

The date is converted to the GMT time zone before being converted to a string.

This method is exactly the same as the toGMTString().



   <source lang="javascript">

<html>

   <script language="JavaScript">
   
   </script>
   </html></source>