java获取当前月的第几天
解决方法:
Calendar calendar = Calendar.getInstance();
calendar.setTime(new Date());
int monthDay = calendar.get(Calendar.DAY_OF_MONTH);//获取当前月的第几天
向大家推荐《Activiti工作流实战教程》:https://xiaozhuanlan.com/activiti
java获取当前月的第几天
解决方法:
Calendar calendar = Calendar.getInstance();
calendar.setTime(new Date());
int monthDay = calendar.get(Calendar.DAY_OF_MONTH);//获取当前月的第几天
有建议,请留言!