I am getting date as string as a parameter from Servlet.
Now when I am trying to parse it again to get util.Date
, it gives me error.
I am getting string "Fri Jul 02 00:00:00 IST 2010"
& I want util.Date
from it.
Tried SimpleDateFormat
, DateFormat
but didn't work.