Quick question!  I hope :)  What's the best way to change a date format
before I add it to my velocity context?

I have the following code:

Criteria crit = new Criteria();
List individualList = IndividualPeer.doSelect(crit);
Context.put("individuallist", individualList);

One of the columns returned from the select is a date column.  Currently
it is returned as e.g. 1974-08-22 00:00:00.0 but all I need is the
1974-08-22 portion of that.  Can I change the date format as part of the
criteria or am I better off modifying the List object after the select
has populated it?

Best regards,

Mark

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to