my dog learned polymorphism*
The moose likes Object Relational Mapping and the fly likes Dateformat problem in iBatis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Dateformat problem in iBatis" Watch "Dateformat problem in iBatis" New topic

Dateformat problem in iBatis

chathuranga jeevan pussella

Joined: Aug 12, 2010
Posts: 5

Hi all,
This is my first post here. I am in trouble with date formatting in iBatis.
Can you anyone please help me.
I want to format the date from Database as 'DD-MM-YYYY' format.
when I using following code, it give 'YYYY-MM-DD' format.

output : 2011-06-21

How can I do that ???

It is sorta covered in the JavaRanch Style Guide.
subject: Dateformat problem in iBatis
Similar Threads
How to determine Data Format while we are getting Data from Excel Sheet
how to change the date,Time format after accessing it from the database
Date Validation
Dateformat problem in iBatis
simple date format