Quantcast
Channel: User Chris - Stack Overflow
Viewing all articles
Browse latest Browse all 42

Comment by Chris on Dates difference wrongly stored in MySQL database

$
0
0
I would start by checking the format of the date your sending, and the format it becomes when its in MySQL. This is a classic problem a lot of PHP developers have when dealing with date/time math between their code and MySQL. So my first step would be to verify that the correct data is persisting. Also doing everything in UTC will help avoid any timezone related issues.

Viewing all articles
Browse latest Browse all 42

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>