ext日期加减任意天数

1、Ext.util.Format.date(new Date().add(Date.DAY, 5), 'Y-m-d'), 'Y-m-d')

2、Ext.util.Format.date(new Date(parseInt(value.substring(6, value.length - 2))).add(Date.DAY, parseInt(stringTime), 'Y-m-d'), 'Y-m-d')

posted on 2014-04-14 19:02  李九妹  阅读(803)  评论(0编辑  收藏  举报