On Wednesday 03 September 2003 06:14 am, Tony Grant tony-at-tgds.net |jakarta|
wrote:
> Now I have located the root of my problem. My query is returning a
> string and not a date...
If the query is returning a string, you could convert it to a date first -
using parseNumber - and then format it
On Tue, 2003-09-02 at 23:19, Felipe Leme wrote:
> I'm not sure if I understood the problem correctly, but it looks like you are
> not calling the fmt:formatNumber tag. Try something like this:
>
> <% Date date =(((oeuvre_data = oeuvre.getObject("dateexpofin"))==null ||
> > oeuvre.wasNull())?""
On Tuesday 02 September 2003 01:15 pm, Tony Grant tony-at-tgds.net |jakarta|
wrote:
> They are returned to the jsp in the format 2003-11-09 the JSP code is
> generated by Dreamweaver MX
> <%=(((oeuvre_data = oeuvre.getObject("dateexpofin"))==null ||
> oeuvre.wasNull())?"":oeuvre_data)%>
>From whi
Hello,
I am trying to format dates that are the result of a database query. The
dates are stocked in the database (PostgreSQL) as "date" data type.
They are returned to the jsp in the format 2003-11-09 the JSP code is
generated by Dreamweaver MX
<%=(((oeuvre_data = oeuvre.getObject("dateexpofin"