Help with php

I am trying to learn php though “http://articles.sitepoint.com/article/php-amp-mysql-1-installation/7”. I tried to do the today.php file and only got “Today’s date (according to this web server) is” no time at all any suggestions?

Just add this (obviously change the time zone) to the top of your script:


date_default_timezone_set('Europe/London');

This manually sets the timezone and you won’t get that warning.

Time zones can be found here:
http://php.net/manual/en/timezones.php

Cheers,

Jon

Ok I got it working but when I pull it up I get this

Today’s date (according to this web server) is
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 ‘America/Denver’ for ‘-6.0/DST’ instead in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\ oday.php on line 13
Wednesday, October 13th 2010