哪吒机器人提醒:

提醒:JAVA开发类-AJava.org
【标题】SimpleDateFormat - 取得2个日期之间间隔的天数
【摘要】1. 以系统当前日期为起始日期,计算离目标日期还差几天 public stringgetdatediff(stringtargettime) throws parseexception{ //得到系统当前的日期 stringtoday=dateformat.getdateinstance().format( new date()); simpledateformatdf= new simpledateform... (04-15 13:18)