js当前时间,最好用,最短的

new Date( +new Date() + 8 * 3600 * 1000 ).toJSON().substr(0,19).replace("T"," ")
posted @ 2022-02-11 11:45  杨建鑫  阅读(23)  评论(0编辑  收藏  举报