var d = new Date('Fri Dec 12 2014 08:00:00 GMT+0800');d.getFullYear() + '-' + (d.getMonth() + 1) + '-' + d.getDate() + ' ' + d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds();