标签: javascript
所以我目前有
var d = new Date(); document.getElementById("date-time").innerHTML = "Updated: " + d;
这将输出类似Updated: Wed Jul 17 2019 10:39:30 GMT+0100 (British Summer Time)的内容。如何获得不带时区的代码以使其产生类似Updated: Wed Jul 17 2019 10:39:30的输出?
Updated: Wed Jul 17 2019 10:39:30 GMT+0100 (British Summer Time)
Updated: Wed Jul 17 2019 10:39:30