• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Timezone and Daylight Saving Time

Timo002

Basic Pleskian
Hello,

In Plesk I've set up my timezone as (GMT +02:00) Europe/Amsterdam.

Currently the local time is 21:50, but it shows the system time as 22:50.
If I use this PHP code:
PHP:
<?php
echo date('H:i');
?>
This also shows me 22:50

Has this something to do with Daylight Saving Time? How can I fix this?
 
@Monty, the date.timezone was not set in the php.ini file and is didn't fall back to the date timezone I setup under Tools & Settings > System Time. I uncommented date.timezone from the php.ini file and set it to 'Europe/Amsterdam'. Now the timezone seems to be working fine. It seems I need to do this for each PHP version on running on Plesk, it doesn't pick a default one.
 
Back
Top