<?php
date_default_ti mezone_set('Eur ope/Rome');
echo date("Y-m-d"); // ok
include("myscri pt.php");
?>
myscript.php
<?
echo date("Y-m-d");
It is not safe to rely on the system's timezone settings. Please use the
date.timezone setting, the TZ environment variable or the
date_default_ti mezone_set() function. In case you used any of those methods
and you are still getting this warning, you most likely misspelled the
timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in
is a stupid ?
date_default_ti mezone_set('Eur ope/Rome');
echo date("Y-m-d"); // ok
include("myscri pt.php");
?>
myscript.php
<?
echo date("Y-m-d");
It is not safe to rely on the system's timezone settings. Please use the
date.timezone setting, the TZ environment variable or the
date_default_ti mezone_set() function. In case you used any of those methods
and you are still getting this warning, you most likely misspelled the
timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in
is a stupid ?
Comment