摘要:
//现在时间的TIMESTAMPlong epoch = System.currentTimeMillis()/1000;//某一时间的TIMESTAMPCalendar c = Calendar.getInstance();c.setTime(....);c.getTimeInMillis()/1000;Calendar c = Calendar.getInstance();c.set(2010,3,11); //注意此处,应该是3不是4c.getTimeInMillis()/1000; 阅读全文
posted @ 2011-10-26 18:11
贫民窟里的程序高手
阅读(2578)
评论(0)
推荐(0)