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.
↧