I use a method in my StringUtil class , You can certainly do the same with only
dd.MM.yyyy ...
public static String getDateTimeAsString(Date aDate)
{
SimpleDateFormat formatter = new SimpleDateFormat ("dd.MM.yyyy HH:mm:ss");
String dateString = formatter.format(aDate);
return dateString;
}
Regards
Veronique
subramanian Athimoolam a �crit :
> hi
>
> how can i fetch date formate like mm/dd/yy
> in jsp page.
> here i am using java.util.date df=rs.getDate(1);
>
> it will be displaying 2000-08-03
>
> i want to display 03-08-2000
>
> how can i do it
> thanks
>
> [ in oracle to_char('df','dd/mm/yyyy ') its working but how can i implement
> in jsp?? ]
>
> subu
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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