Date birthday = new Date(int year,int month,int day);
这个方法过时了,但还是能用啊
Date birthday = new Date(2009, 1, 1);//就是2009-1-1
为什么存入数据库就变成了3000多年了?
还有什么好方法吗?