ITeye博客

Date转为Long的方法

abeetle · 2007-08-21 14:57 · Markdown

    Long time=System.currentTimeMillis();
    Date time1=new Date();
    Long tmp=time1.getTime();
    
    System.out.println("currentTimeMillis="+time);
    System.out.println("time1="+tmp);

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。