• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx

  • We are developing a new feature in Plesk that will help you promote your websites or business on social media. We want to conduct a one-hour online UX test to present the prototype and collect feedback. If you are interested in the feature, please book a meeting via this link.
    Thank you in advance!
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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