struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navjot Singh" <>
Subject RE: [OT] Date parsing problem with <fmt:parseDate>
Date Fri, 06 Jun 2003 13:39:42 GMT
oops, i got the problem. Actually, it has to be 

pattern="yyyy-MM-dd HH:mm:ss"

rather than 

pattern="yyyy-MM-dd hh:mm:ss"

navjot singh

|-----Original Message-----
|From: Navjot Singh []
|Sent: Friday, June 06, 2003 7:01 PM
|To: Struts Users Mailing List
|Subject: [OT] Date parsing problem with <fmt:parseDate>
|Has anybody faced any problems with <format taglib>
|The call to this TAG
|<fmt:parseDate var="msgDate" value="${sentOn}" pattern="yyyy-MM-dd 
|is giving me this ERROR
|In <parseDate>, value attribute can not be parsed: "2002-12-12 14:21:59"'
|I have RTFS and got the idea that ths error is coming on when ParseDateTag
|dateformat.parse(value); //code verbatim is parser.parse(input);
|Any help is appreciated.
|Navjot Singh
|Net4India Ltd.
|To unsubscribe, e-mail:
|For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message