...
Set the default time zone TZ variable in the FastCGI configuration
Info |
---|
title | The TZ setting is no longer used in versions 2020 and later |
---|
|
Starting with Zend Server 2020, we no longer set the TZ setting in fastcgi.conf. |
Note |
---|
icon | false |
---|
title | Note: The TZ setting affects the time displayed in the Zend Server User Interface |
---|
|
If the value for TZ does not match your other settings, you will be able to notice this discrepancy in the time displayed on the Zend Server User Interface in your browser. After making the correction in fastcgi.conf, restart Apache and log out and back in to the User Interface to see the changed time. |
...
Info |
---|
|
<?php // Example to show date and time in a nice format echo "The current date and time is "; echo date("F j, Y, g:i a"); echo ", in the timezone "; echo date("e"); // Show date and time from PASE echo '<br>PASE time: '; echo `/QOpenSys/usr/bin/date`; ?> |
...