var sysTime = new Date().toString();//取系统时间 var endTime=Ext.util.Format.date(sysTime, "YmdHis"); //Ext.util.Format.date()改格式