PHP警告:date(): - 这就是我在IIS php 5.5.1上得到的全部内容

OK, I've managed to install php and get it to run, but I use date(); in several scripts. First I got the error with the not set timezone, I've set the timezone like this:

date.timezone = “Europe/Berlin”

now I get this error: PHP Warning: date(): in blabla on line 13

no error message at all, why do I get this? It's really hard to google because of the other errors, also date, php and warning aren't the bes keywords. Here is my google search:

php Warning: date(): -"It is not safe to rely on" -"expects parameter"

It would be great if someone had a solution for the error or a suggestion for a google search.

Thanks for your help.

Edit: the script works on Xampp on the same machine

Edit 2: So this is the actual line:

$uhrzeit = date("d.m.Y - H:i:s",$timestamp);

and here is the $timestamp set: $timestamp = time();

you need to use date_default_timezone_set('Europe/Berlin'); Keep this in your page which runs every time like config file.

date_default_timezone_set(“Europe/Berlin”);