Re: SV: date format problems

2003-03-07 Thread Rick Reumann
On Fri, 7 Mar 2003 15:26:49 +0100 Søren Blidorf <[EMAIL PROTECTED]> wrote: > Yes, it's a good point, but the only place my date is a String, is in > the ActionForm. > > Would you store the date as long there? With all due respect to apachep2 I would store myDate as a String in an ActionForm bea

SV: date format problems

2003-03-07 Thread Søren Blidorf
ng List' Subject: SV: date format problems Hi. Thanks for all the answers I was trying different things because nothing would work for me. I need one thing: Convert the String value theForm.GetMyDate() so that I can insert it in my sql as -MM-dd. I get the error java.lang.IllegalArgumen

SV: date format problems

2003-03-06 Thread Søren Blidorf
.ParseException("Date Of Birth:", pe.getErrorOffset()); } } } -Original Message- From: Søren Blidorf [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 3:42 PM To: 'Struts Users Mailing List' Subject: SV: date format

SV: date format problems

2003-03-06 Thread Søren Blidorf
Hi. Thanks for all the answers I was trying different things because nothing would work for me. I need one thing: Convert the String value theForm.GetMyDate() so that I can insert it in my sql as -MM-dd. I get the error java.lang.IllegalArgumentException: Cannot format given Object as a Dat