[imp] Timezone problem -- fix
Jan Schneider
jan at horde.org
Fri Mar 21 23:39:35 PST 2003
Quoting Klemen Humerca <klemen at humerca.com>:
> I'm using horde 2.2 and IMP 3.2. This problem is very strange. As I
> decribed
> in my earlier mail:
>
> 1.) I have this problem. If I try this input: "date" on my server I get
> this:
>
> Fri Mar 21 12:46:30 GMT+1 2003
>
> This is correct time!!
>
>
> 2.) But when I use php function "date('r')", I get this in my browser:
>
> Fri, 21 Mar 2003 12:46:30 -0100
>
> This is also correct time, but -1 is wrong!
> Where is the problem?
Obviously something is badly broken with your time/date support in PHP. Just
to be sure you can try a system("date"); call in PHP to see if it isn't the
webserver environment that screws things up.
And iirc you never told us what PHP version you have. Did you already try a
newer version?
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the imp
mailing list