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?

[EMAIL PROTECTED] writes:
>> Help please.  I'm displaying the current date in embperl.
>> Why is it that sometimes I get a 1day lag date (even when clicking
>> refresh)? 
>> 
>> excerpt from new.epl:
>> <meta http-equiv="Pragma" content="no-cache">
>> <meta http-equiv="Expires" content="0">
>> <meta http-equiv="Cache-Control" content="no-cache">
>> </head>
>> <body>
>>    [-
>>       ($curmday, $curmon, $curyear) = (localtime(time()))[3, 4, 5];
>>       $curyear += 1900; $curmon += 1;
>>       $fdat{date} = "$curmon\-$curmday\-$curyear";
>>     -]
>> 
>> 
>This should normaly not happen. 
>
>What is happening if you do a
>
>[+ scalar (localtime) +]
>
>? Does this show the correct date/time?
>
>Gerald


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

Reply via email to