JavaScript Reference/Javascript Methods/toUTCString
Версия от 18:30, 25 мая 2010; (обсуждение)
"toUTCString()" Example
<html>
<body>
<button onclick="var myDate = new Date(); alert(myDate.toUTCString());">
to UTC string
</button>
</body>
</html>
"toUTCString()" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |Date |
+----------------+--------------------------------------------------------------+
"toUTCString()" Syntax Parameters and Note
Note:
Uses UTC time to convert the Date to a locale-specific format.
Syntax:
dateName.toUTCString()