It's not a secret anymore!
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
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
I agree. Here's the link:
subject: Strange problem while using JDBC
jQuery in Action, 3rd edition