var str = '2013年11月18';str = str.replace(/[^\d]/g,'/');var date = new Date(str);'2013-11-18' 也适用 /才兼容IE -有些IE不认识