cal.add(Calendar.DATE, -1); //-1代表昨天,0代表今天,1代表后天. String time= new SimpleDateFormat( "yyyyMMdd").format(cal.getTime());
確定! 回上一頁