The browser displays the following dirty trick
Этот текст представляет данные, полученные в результате работы PHP 5: Сегодня Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 'UTC' for '6.0/no DST' instead in C:\SERVER\Apache\htdocs\phpstud\simple01.php on line 8
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 'UTC' for '6.0/no DST' instead in C:\SERVER\Apache\htdocs\phpstud\simple01.php on line 8
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 'UTC' for '6.0/no DST' instead in C:\SERVER\Apache\htdocs\phpstud\simple01.php on line 8 09-23-2011
Code such
<html> <head> <title>Web-страница</title> </head> <body> Этот текст представляет данные, полученные в результате работы PHP 5: Сегодня <?php $todaysdate = date("m", time()) . "-" . date("d", time()) . "-" . date("Y", time()); echo $todaysdate; ?> </body> </html> Where is the mistake? It seems to me that something with a date in php may need to be configured.