Hello, I am using a graph where the date and time are displayed and of course the parameters, but when inserting the time and date, the time is 5 hours ahead.
To insert, I take the time and date of the current equipment and insert it into a Timestamp field, and the database correctly captures the time and date that it is, but when it is displayed on the graph it shows me 5 more hours. I leave you the sample of the graph and below the real hr when inserting in a bd.
It may be the problem with the time zone, try changing it with:
date_default_timezone_set()
Working example: See Online