I have a date taken as a url parameter and I need to use that date to set another date in a another field. What I need to do exactly is take the url parameter, add 1 month and 2 weeks to it, display the new date in a text field. I am doing this in a jsp page.
my url parameter:- 13-10-2014 new field :-
<input type="text" id="newDate" value="">
I followed this thread, but I cannot figure out how to do it with a String value(The url parameter).
How to do this. Thank you!