Time Zone Issues
Posted: Tue Apr 18, 2017 12:50 pm
Version of script: 2 x version 2.7.3 and 1 x 2.5.3
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):
I've tried manually changing the server offset but it doesn't work, and it seems once the number is too great it just resets back to 3am.
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?
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?