Querying TIMESTAMP column from mySQL table, unexpected result

Please take note of the pinned forum topic and repost your flow between triple back-ticks.

The difference in time is likely to be the difference between UTC (Zulu) time and your local time. You should always work with UTC until you are ready to display to users in order to save confusion and timezone/DST errors.