| Author |
Oracle Date to Java date
|
Purushoth Thambu
Ranch Hand
Joined: May 24, 2003
Posts: 425
|
|
I call a stored procedure with returns set of date. I need to format these dates in 'dd-MMM-yyyy' format and display. How I can do it in simple way. I tried to use the SimpleDateFormat but it takes java.util.date and not java.sql.Date as parameter. Please let me know
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26167
|
|
Purushothaman, java.sql.Date is a subclass of java.util.Date so you can still use it.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: Oracle Date to Java date
|
|
|