日期的比较

      notes 2005-4-25 15:41
nngx,今天好闷啊,还有一些鸟事,实在让我心烦气躁,定力不够啊
嗯 先记录一下日期的比较
    String today = DateUtil.getNowTime("yyyy-MM-dd");
    SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd");
    Date lt = df.parse("2005-07-01");
    Date dt = df.parse(today);
    int i = (int)(dt.getTime()-lt.getTime());
http://www.softhouse.com.cn/html/200409/2004092114331500000778.html
用Java程序获取绝对路径
先收着 应该用得上
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commentauthor}
{commentauthor}
{commenttime}
{commentnum}
{commentcontent}
作者:
{commentrecontent}