'Thu May 12 2016 08:00:00 GMT+0800 (中國標准時間)'--此格式日期無法傳到java后台,須格式化,方法如下
var d = new Date('Thu May 12 2016 08:00:00 GMT+0800 (中國標准時間)');
youWant=d.getFullYear() + '-' + (d.getMonth() + 1) + '-' + d.getDate() + ' ' + d.getHours() + ':' + d.getMinutes() + ':' + d.getSeconds();