• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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