But if I run this program :
Code: Select all
<?php
echo date('Y-m-d G:i:s');
?>
Code: Select all
<?php
echo date('Y-m-d G:i:s');
?>
Code: Select all
<?php
# use your timezone here, see https://www.php.net/manual/de/timezones.php
date_default_timezone_set('America/Los_Angeles');
echo date('Y-m-d G:i:s');
?>
Code: Select all
<?php
date_default_timezone_set('Europe/Paris');
echo date('Y-m-d G:i:s');
?>