Tomorrows Date from java.util.date ?
2 posts in topic
Flat View  Flat View

Posted By:   Ajay_Phagura
Posted On:   Friday, January 23, 2004 09:04 AM

I need to write a method to get tomorrows date.
What will be best way to do it?

I was thinking of using the

System.currentTimeMillis()+ 86400000;

The 86400000 are the # of milliSecs in a day.

Looking for better ways to do it.


on jUNIT

Posted By:   ravi_krishna  
Posted On:   Wednesday, April 7, 2004 02:37 AM

i want test methods on junit whose haveing void and sending parameters as Vectors

Re: Tomorrows Date from java.util.date ?

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, January 23, 2004 11:13 AM

Perhaps a Calendar, and then add 1 day?

About | Sitemap | Contact