'toUTCString()' Example : toUTCString « Javascript Methods « JavaScript Reference
- JavaScript Reference
- Javascript Methods
- toUTCString
'toUTCString()' Example
<html>
<body>
<button onclick="var myDate = new Date(); alert(myDate.toUTCString());">
to UTC string
</button>
</body>
</html>
Related examples in the same category