how to add to dates in java??
Posted
by terrific
on Stack Overflow
See other posts from Stack Overflow
or by terrific
Published on 2010-03-24T11:59:17Z
Indexed on
2010/03/24
12:03 UTC
Read the original article
Hit count: 308
java
I want to add days in a date to get a new date in java. How to achieve it using the Calender class. Gregorian calender.
Calender dom = new GregorianCalender(d, m y);
is the instance of my date of manufacture and I want to reach to Date of Expiry adding some 100 days to the current date and store it in doe but unable to do that.
Any help would be appreciable.
© Stack Overflow or respective owner