I can't get the PHP date function to give me the proper time. It is always a 4 hours and ahead.
I have set the date.timezone = "America/Toronto" and phpinfo() shows that it is set to that. The default timezone is set to UTC and I don't know how to change that as there isn't a variable for it in php.ini file.
This isn't just happening with Laragon it is also happening on my server. Laragon is running PHP 7.1 and my server is 7.2. I am using php-fpm on my server. I am not sure what Laragon uses.
Using nginx on my server and Laragon shows both Apache and Ngnix when starting.