aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

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.
Thanks,
Cindy Glass
"The Hood"
Sheriff

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: http://aspose.com/file-tools
 
subject: Strange problem while using JDBC
 
Similar Threads
Strange problem while accessing date type data columns
date format
Insert a row into MS Access2003 successfully,But the long date(YYYY/MM/DD HH:mm:ss) was changed
conversion of date
query working in sqldeveloper and not from java jdbc