So guys, I have a problem with time in my system
If I print this directly in my database(Mariadb using phpmyadmin) or directly in the server the time is correct..
mysql > SELECT now();
and when I print this directly in the file(.php)
echo date("Y-m-d H:i:s");
but, if I print this...
echo $conn->query('SELECT NOW()')->fetchColumn(0);
the time shows with an hour more.
Can someone help me? What am I missing here?