• 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