Recently I’ve installed AppServ Open Project - 2.6.0 for Windows as a local server. I used a little PHP code in my site " <? echo date('l d, M Y'); ?> " to show date in this format “ day date, month year â€. It worked fine in previous AppServ versions. But now the following error is coming: Strict Standards: date() [function.date]: 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 'UTC' for '6.0/no DST' instead in D:\AppServ\www\ritesinfo\header.php on line 19 Friends, please give me the solution. I’ll be so grateful to you. Thanx
Just seems its on your windows machine, its a warning. Put @ in front of it while your developing on the windows machine.
Yes, I'm testing it in local server. It works online. But I want such code that will work on localhost as well. Thanx.