提醒:SimpleDateFormat - 取得2个日期之间间隔的天数 2011年04月15日

演示:以MSN订阅提醒为例 订阅到哪吒,有更新提醒我
哪吒机器人提醒:
提醒:JAVA开发类-AJava.org
【标题】SimpleDateFormat - 取得2个日期之间间隔的天数
【摘要】1. 以系统当前日期为起始日期,计算离目标日期还差几天 public stringgetdatediff(stringtargettime) throws parseexception{ //得到系统当前的日期 stringtoday=dateformat.getdateinstance().format( new date()); simpledateformatdf= new simpledateform... (04-15 13:18)
收藏 |  评论 |  推荐给好友  | 
本文共有 0 次分享
评论
共有 - 条评论


我要反馈