I have a script that I completed a week ago, without any problem or bug. Today, I tested it again and I received these messages:
Strict Standards: date()
In php.ini, ; comments out a line, so ;date.timezone = "Europe/Lisbon" does nothing. Uncomment that line by removing that preceding ; and restart Apache.
;
;date.timezone = "Europe/Lisbon"
Why not do the following:?
date_default_timezone_set('Europe/Lisbon');