What terms did you try when SEARCHING for a solution: Time and time zone
Write your message below:
We have 3 instances of Hesk installed on the same server and each of them has a different 'Current Hesk Time'.
I've created a PHP file with this and it is displaying the correct server time (different to what is showing in HESK):
Code: Select all
<?php
date_default_timezone_set('Europe/London');
$timestamp = time();
$date_time = date("d-m-Y (D) H:i:s", $timestamp);
echo "Current date and local time on this server is $date_time";
?>
Server time is correct and same as the local time.
Timezone is set in PHP.ini - the php.ini is set from C:\Program Files - does it need to be moved to the C:\Windows folder?