JavaScript Reference/Javascript Methods/toUTCString
"toUTCString()" Example
<source lang="javascript">
<html> <body> <button onclick="var myDate = new Date(); alert(myDate.toUTCString());"> to UTC string </button> </body> </html>
</source>
"toUTCString()" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |Date | +----------------+--------------------------------------------------------------+
</source>
"toUTCString()" Syntax Parameters and Note
<source lang="javascript">
Note: Uses UTC time to convert the Date to a locale-specific format.
Syntax:
dateName.toUTCString()
</source>