标签:ar sp java on bs ad as sql nbsp
Calendar cal = Calendar.getInstance();
cal.set(Calendar.YEAR,year);
cal.set(Calendar.MONTH,month+1);//2月
int maxDate = cal.getActualMaximum(Calendar.DATE);
"SELECT day(LAST_DAY(‘2007-04-01‘));";
select to_number(add_months(to_date(‘2007-04‘,‘yyyy-fmmm‘),1)-to_date(’2007-04‘,‘yyyy-fmmm‘)) daynum from dual
标签:ar sp java on bs ad as sql nbsp
原文地址:http://www.cnblogs.com/kxdblog/p/4115290.html