In javascript how will i convert 2016-05-21 20:00:00
to December 31 2016 00:00:50 UTC+0200
? I am a newbie so please forgive me if i appear to be naive.Please ignore the values.The format is what is confusing me.
使用new Date()
和ISO 日期作为参数
document.write(new Date('2016-05-21 20:00:00'));
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.