You are here: php 6 dev « PHP Programming Language « IT news, forums, messages
php 6 dev

Posted by Gufo Rosso on 07/25/06 00:19

<?php
date_default_timezone_set('Europe/Rome');

echo date("Y-m-d"); // ok

include("myscript.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_timezone_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 ?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация