This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Strange problem while using JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

Strange problem while using JDBC

Abhinav Anand
Ranch Hand

Joined: May 02, 2002
Posts: 113
Hi guys,
I designed an app that has to connect to a datasource through JDBC. In my current implementation i have chossen MS Access as the backend database.
No my database has a table that contains some date columns. The program is supposed to show the date in dd/mm/yyyy format. The program works fine on my computer and shows the date in the given format. But the moment i deploy my app on another computer the date format changes and starts displaying the date in mm/dd/yyyy format.
Why is this problem not occuring on my computer and why this date format problem arises when the program is run on another computer.
Any suggetions will be welcome.
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Please do not cross post. Continue the conversation here.

"JavaRanch, where the deer and the Certified play" - David O'Meara
wood burning stoves
subject: Strange problem while using JDBC
Similar Threads
Strange problem while accessing date type data columns
Insert a row into MS Access2003 successfully,But the long date(YYYY/MM/DD HH:mm:ss) was changed
query working in sqldeveloper and not from java jdbc
conversion of date
date format