From http://www.w3schools.com (Copyright Refsnes Data)
JavaScript Date Object
The toUTCString() method converts a date to a string (according to universal time).
| dateObject.toUTCString() |
ExampleConvert today's date (according to UTC) to a string:
The output of the code above will be: Try it yourself » |
JavaScript Date Object
From http://www.w3schools.com (Copyright Refsnes Data)