toUTCString()
Description
toUTCString()
displays the complete UTC date.
Example
var aDate = new Date(Date.UTC(2021, 5, 4, 12, 21, 55));
console.log(aDate.toUTCString());
The code above generates the following result.
toUTCString()
displays the complete UTC date.
var aDate = new Date(Date.UTC(2021, 5, 4, 12, 21, 55));
console.log(aDate.toUTCString());
The code above generates the following result.