The best way is to use PreparedStatement's and the
setDate/setTime/setTimestamp methods.  Then you don't have to parse the
dates at all.
    (*Chris*)

----- Original Message -----
From: "Rice, David" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 1:20 PM
Subject: [JSP-INTEREST] Using DATE and CALENDAR objects...


> All,
>
> I need to parse dates for some DB insertions we're doing. the specifics
aren't really important. Does anyone know of a good tutorial on using the
DATE and CALENDAR objects?
>
> Any help or advice will be greatly appreciated.
>
> "A man has truly began to discover the meaning of life when he plants
shade trees under which he knows he will never sit." -- Elton Trueblood
>
> Cheers,
> --
> David L. Rice
> Web Applications Developer
> BellSouth/AL
>
>
===========================================================================
> 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


_________________________________________________________
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