Any month is converted into Jan.  Please suggest a workaround for this

java.text.SimpleDateFormat fmt=new
java.text.SimpleDateFormat("dd/mm/yy",Locale.ENGLISH);

   fmt.getDateInstance(DateFormat.MEDIUM);

   java.util.Date pdu=fmt.parse(request.getParameter("publishdate"));
   java.util.Date adu=fmt.parse(request.getParameter("archivedate"));


Thankyou

Venkat




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to