• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Plesk timezone issues

D

Dan F

Guest
Hi guys,

I am having a bit of a nightmare! I recently ran 'yum upgrade' and also updated Plesk through the upgrade manager, and now I have the 9.2.2 version.

Since doing this, the timezone on my system has been totally wrong. It jumped from UTC to EDT, and I successfully sorted that out. My system `date` now returns UTC correctly.

Inside Plesk, if I use the Server -> System time and select GMT from the list, it reverts my `date` to EDT (?!), yet if I use 'UTS' it puts it back to UTC in `date`.

Since doing this, I've been having problems with PHP too which is causing major issues for us.

If I use:

PHP:
echo gmdate('Y-m-d H:i:s');
echo date('Y-m-d H:i:s', strtotime('2009-10-15 01:44:55'));

I correctly get the same timezone (no major differences).

However, a datetime from mysql formatted like ".date('M d H:i:s Y', strtotime($myrow['dateadded']))." is adding on 4 hrs..? The datetime in the SQL database is *correct*.

I was wondering if anyone had any ideas how to resolve this?

Thank you.
 
Back
Top