怎么把Thu Nov 22 2018 10:49:36 GMT+0800转换成正常日期

this.data //Thu Nov 22 2018 10:49:36 GMT+0800
this.date_of_birth = date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate() + ' ' + date.getHours() + ':' + date.getMinutes() + ':' + date.getSeconds(); //this.deta_of_birth = 2018-11-22 10:49:36
posted @ 2018-11-22 11:07  javahcke  阅读(963)  评论(0编辑  收藏  举报