console.log( new Date() ); //Tue Mar 20 2018 22:47:01 GMT+0800 (中国标准时间) // var date = new Date( '2017-04-18 09:16:15'.replace(/-/g,"/") ); // console.log( date); //Tue Apr 18 2017 09:16:15 GMT+0800 (中国标准时间)
posted on 2018-05-16 09:15 雪洗中关村 阅读(73) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 雪洗中关村 Powered by .NET 8.0 on Kubernetes