• Post Reply Bookmark Topic Watch Topic
  • New Topic

LeapCentury--Date fun. fails to identify?  RSS feed

 
chandrakant shirole
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends
basically i've problem of calculating next dates from a specific dates with a difference of month i wrote one bean and i succed in calculating it but i am facing a prob when the date is
29-feb-2000(any leap century year)
e.g
Date date=new Date(2000,1,29);
when i try to extract yr,month and days using method of Date Class it returns me-->1-2-2000 i.e of course next date, how can this prob be solved.
from
cus
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!