Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

Web Server Subtracts One Day from My Date Column

$
0
0

I have a webpage with a table, the table has a date column with no time component in the date column. For debugging I use the "g" format string so it will also display the time component. In visual studio the time component is 12:00 AM. On by GoDaddy webserver the time component is 11:00 PM and the date is substracted by one day.

Example.....

My date is 6/19/2014 and using the "g" format string it shows 6/19/2014 12:00 AM in visual studio like it should.

On the web server my date shows 6/18/2014 11:00 PM notice the date is substracted by one day.

Thank You!


Viewing all articles
Browse latest Browse all 780

Trending Articles