> > >
> > > I have a little problem with my embedded perl HTML, it's losing a
hour.
> > > Says 22:00 at 23:00. I has tried to find what makes this distance, but
> > > can't find out.
> > >
> > This surely is not a problem of Embperl. I guess the timezone isn't
> > correctly set when running under Apache. Check your environment
settings.
> Can't find any way what where and how.
> I'm using debian 2.2, shell's "date" and php's date() works well.
> What do you think?
>

>From your mail headers it's seem that your timezone is +1, so the time that
is displayed is GMT. If you try

[+ scalar(localtime) +]

Does thsi get the wrong time ?

If yes, I would compare the env setting on the command line with ones under
Apache, e.g. do

printenv

on the command line and run

[$while ($k, $v) = each (%ENV) $]
  [+ $k +] = [+ $v +]
[$endwhile$]

as embperl page and check out what's different and may be time related

Gerald

P.S. Please keep the discussion on the list




-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to