现在我用Timestamp类型取出了这个日期,
Timestamp tanupdate = (Timestamp)uInfo.getTanMstBean().getUpd_date();
想取出tanupdate 日期后30天的日期,
各位前辈们,请赐教~~
------解决方案--------------------
- Java code
tanupdate.setTime(tanupdate.getTime() + 1000 * 60 * 60 * 24 * 30);
tanupdate.setTime(tanupdate.getTime() + 1000 * 60 * 60 * 24 * 30);