//现在时间的TIMESTAMP
long 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;