1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Time and server time zones
The timezone is set to UTC, however the PHP date functions are built to be able to take this into account according to the desired timezone.
You can use the following code in your PHP scripts by assigning the timezone to the TZ environment variable:
echo "Original Time: ". date("H:i:s")."<br>";
echo "New Time: ". date("h:i:s")."<br>";
Link to this FAQ: