If you are receiving error like:

Warning: date(): It is not safe to rely on the system's timezone settings.

In PHP 5.3.x

Fastest fix is to add something like:

date.timezone = "Europe/Ljubljana"

in your php.ini.