G
goddy
Unregistered / Unconfirmed
GUEST, unregistred user!
為什么Day>=25 日期加天數就出錯呢
public void AddDay(int day,Date TermDate)
{
java.util.Date d=new java.util.Date();
System.out.println(new java.util.Date(TermDate.getTime()+day*24*60*60*1000));
}
public void AddDay(int day,Date TermDate)
{
java.util.Date d=new java.util.Date();
System.out.println(new java.util.Date(TermDate.getTime()+day*24*60*60*1000));
}