This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Joda DateTime

 
Niall Loughnane
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1071
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My first thought would be timezone or daylight savings problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic