Page 1 of 1

function date is giving wrong time???

Posted: Fri Jan 24, 2003 3:12 pm
by Skywalker
this is the function i use
$date=date("D d M Y h:i:s");

it is now 22:11 over here and the function gives me a time of 08:23:blabla
how can this be solved?

+GTM0200 or somthing?

Please help me
Greathings Skywalker

Posted: Fri Jan 24, 2003 3:54 pm
by volka
probably the timezone is not set properly.
What does

Code: Select all

echo date('T');
return? If the timezone does not fit ask the administrator (if there is one ;) ) "why?"

Posted: Sat Jan 25, 2003 5:00 am
by Skywalker
It gives me to see this [ CET ] I don't have a klew what this means.

Greathings Skywalker

Posted: Sat Jan 25, 2003 7:49 am
by twigletmac
CET - Central European Time

Mac

Posted: Sat Jan 25, 2003 9:37 am
by volka