This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Dateformat problem in iBatis" Watch "Dateformat problem in iBatis" New topic
Author

Dateformat problem in iBatis

chathuranga jeevan pussella
Greenhorn

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
Dateformat problem in iBatis
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
simple date format