ldanet
asked on
String to date and calculate the end of period
Hello!
Well, I get back a date of the beginning of period
and I should calculate the date of the end of period.
First problem, the date of the beginning is a string. So, it is necessary to convert to Date object.
Second problem, I should calculate the date of the end.
Ex: date at the beginning of 2002-02-01 then the date of the end will be 2003-01-31).
But I don't know how to make!
Thank you for his help!
Ankou
Well, I get back a date of the beginning of period
and I should calculate the date of the end of period.
First problem, the date of the beginning is a string. So, it is necessary to convert to Date object.
Second problem, I should calculate the date of the end.
Ex: date at the beginning of 2002-02-01 then the date of the end will be 2003-01-31).
But I don't know how to make!
Thank you for his help!
Ankou
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.objects.com.au/staff/mick
Brainbench MVP for Java 1
http://www.brainbench.com