A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Java in General
Joined: Dec 07, 2006
Feb 23, 2007 08:29:00
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?
Joined: Dec 29, 2004
Feb 23, 2007 09:52:00
My first thought would be timezone or daylight savings problem.
I agree. Here's the link:
subject: Joda DateTime
Formatting Dates returned from SQL queries
B&S: Data File Format
SimpleDateFormat and Timezones
problem while insert date data in mysql
how to handle Null values?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014