You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Sherwin Daganato <wi...@email.com.ph> on 2000/08/18 14:46:17 UTC

Re(2): Re(2): localtime inconsistency

by perl -e "print scalar(localtime)":
   Fri Aug 18 20:44:40 2000
in win98: 
   Fri Aug 18 8:37:27 PM (Time zone GMT +8:00)
in Embperl page:
   Fri Aug 18 12:44:41 2000 

sherwin

richter@ecos.de writes:
>
>
>> it displays like this:
>> 
>> Fri Aug 18 10:00:37 2000 
>> 
>> and looking at windows 98 clock:
>> 
>> Fri Aug 18 5:53:30 PM
>> 
>> What does this mean?
>> 
>
>What does
>
>perl -e "print scalar(localtime)"
>
>say?
>Same as the win 98 clock or same as the clock in the Embperl page?
>
>Gerald


Re: Re(2): Re(2): localtime inconsistency

Posted by Gerald Richter <ri...@ecos.de>.
>
> by perl -e "print scalar(localtime)":
>    Fri Aug 18 20:44:40 2000
> in win98:
>    Fri Aug 18 8:37:27 PM (Time zone GMT +8:00)
> in Embperl page:
>    Fri Aug 18 12:44:41 2000
>

12 -> 20 are the time zone difference (+8h), so it looks like the time zone
isn't set under mod_perl (or you are using CGI mode?). I don't know why the
Perl and System clock have a difference of 7 minutes.

Looks like there is a problem with your time zone settings, but I don't have
a idea where to search for that problem. If it is under mod_perl, then maybe
someone on the mod_perl list can help.

Gerald

> sherwin
>
> richter@ecos.de writes:
> >
> >
> >> it displays like this:
> >>
> >> Fri Aug 18 10:00:37 2000
> >>
> >> and looking at windows 98 clock:
> >>
> >> Fri Aug 18 5:53:30 PM
> >>
> >> What does this mean?
> >>
> >
> >What does
> >
> >perl -e "print scalar(localtime)"
> >
> >say?
> >Same as the win 98 clock or same as the clock in the Embperl page?
> >
> >Gerald
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>
>