Vérifiez le fuseau horaire de la base de données MySQL
SELECT @@system_time_zone as tz;
CodePadding
SELECT @@system_time_zone as tz;
#The query below returns the timezone of the current session.
select timediff(now(),convert_tz(now(),@@session.time_zone,'+00:00'));