import java.text.DecimalFormat; //Date nowTime=new Date(System.currentTimeMillis()); 取系统时间 //SimpleDateFormat sDateFormat=new SimpleDateFormat("yyyy/MM/DD HH:mm:ss"); //String todayTime=sDateFormat.format(nowTime); //System.out.println(nowTime);