How to format a date using Apache Derby?

Posted by Steel Plume on Stack Overflow See other posts from Stack Overflow or by Steel Plume
Published on 2010-04-03T20:28:55Z Indexed on 2010/04/03 20:33 UTC
Read the original article Hit count: 549

Filed under:
|
|

Hello,

I would like to format nicely a date received from a query like:

SELECT recdate FROM myrecords;

pratically I am searching the function to pretty formatting with a date pattern, better if SimpleDateFormat like. And if not possible how can I build a class for formatting with somtehing like:

SELECT MyFormatter(recdate) FROM myrecords

© Stack Overflow or respective owner

Related posts about java

Related posts about derby