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 [mailto:[EMAIL PROTECTED] |Sent: Friday, June 06, 2003 7:01 PM |To: Struts Users Mailing List |Subject: [OT] Date parsing problem with <fmt:parseDate> | | |hi, | |Has anybody faced any problems with <format taglib> | |The call to this TAG |<fmt:parseDate var="msgDate" value="${sentOn}" pattern="yyyy-MM-dd |hh:mm:ss" |scope="page"/> | |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 |calls |dateformat.parse(value); //code verbatim is parser.parse(input); | |Any help is appreciated. | |--------------- |regards |Navjot Singh |Net4India Ltd. | | |--------------------------------------------------------------------- |To unsubscribe, e-mail: [EMAIL PROTECTED] |For additional commands, e-mail: [EMAIL PROTECTED] | | --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

