摘要: 1.获取当前时间方法一:long nowLongTime = System.currentTimeMillis();int month = cal.get(Calendar.MONTH) + 1; int day = cal.get(Calendar.DAY_OF_MONTH); //本月中的第几天 int day1 = cal.get(Calendar.DATE); //日期 int day2 = cal.get(Calendar.DAY_OF_WEEK) + 1; //一年中的第几周 int day3 = cal.get(Calendar.DAY_OF_WEEK_IN_MONTH); /. 阅读全文