[英]How to get a zulu timezone representation of the current date
You can use toISOString()
您可以使用
toISOString()
var isoDate = new Date().toISOString();
console.log(isoDate);
Hope it helps, 希望能帮助到你,
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.