wood burning stoves 2.0*
The moose likes Java in General and the fly likes Joda DateTime 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 » Java » Java in General
Bookmark "Joda DateTime" Watch "Joda DateTime" New topic
Author

Joda DateTime

Niall Loughnane
Ranch Hand

Joined: Dec 07, 2006
Posts: 208
Hi,

I have an app that is creating a DateTime from a database record

the record in the database is equal to 00:00:00:00 for the time
but when the DateTime is created the 00:00:00:00 is changed to 23:00:00:00 for the previous day

Any ideas of how to fix this?

Thanks,

Niall
Steven Bell
Ranch Hand

Joined: Dec 29, 2004
Posts: 1071
My first thought would be timezone or daylight savings problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Joda DateTime
 
Similar Threads
B&S: Data File Format
how to handle Null values?
SimpleDateFormat and Timezones
problem while insert date data in mysql
Formatting Dates returned from SQL queries