The toUTCString() method converts a Date object to a string, according to universal time.
This method has the form:
The following example shows the basic use of this method.
<script> var d = new Date(); document.write(d.toUTCString()); </script>
This produces the following result: