• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with a date/time value

 
Fred Victa
Ranch Hand
Posts: 185
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a computer program that receives an XML file from a client and one of things in that XML file is a value for the date/time. There was a situation where I received an XML file from a client and this was the value for the date/time: 2008-09-17T02:00:00-04:00, which means September 17, 2008 2:00am Eastern Standard Time. My computer program converted this date/time value into Pacific Standard Time and stored the date, 2008-09-16, in my database. How can I prevent my computer program from converting that date/time value into Pacific Standard Time? I do not want my computer program to convert the date/time value into Pacific Standard Time.
 
Shashank Agarwal
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the code that you're using?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic