转自:http://blog.youkuaiyun.com/suixufeng/article/details/7194113 var gedt = Ext.util.Format.date(日期控件.getValue(), 'Y-m-d');