$Bill Luebkert wrote:
> Wagner, David --- Senior Programmer Analyst --- WGO wrote:
>>      I have looked at the problem machine(XP Professional) and looked at
>> two others (one running xp prof and one w2k). They both come back
>> with the correct time.  The time on the machine is correct, but for
>> 0927 PDT I get 1627 PDT. Now I get the incorrect error whether I use
>> MKS Kornshell or MS command prompt.    
>> 
>>      I have tried TZ=PDT, but this seems to have no effect.
>> 
>>      I sent this to Beginner's list, but got no response which helped.
>> 
>>      Any ideas and/or suggestions would be greatly appreciated.
>> 
>>       Thanks.
>> 
>>      ps I have done the simplest of scriptsperl -e "print
>> scalar(localtime)".
> 
> Have you tried 'PST8PDT' ?  Should work without a TZ though.  Are
> you in PT or another zone and using PT ?
> 
> If that doesn't work, show your exact script and exact output along
> with expected output.

        Sorry to be so slow, but wanted to check things out.  When I changed it to 
PST8PDT, then it worked. But your comment that it should work without the TZ. So went 
and checked my other machine.  It did not have it ( though it was AS 5.8.2 build 808 
while my notebook is AS 5.6.1 Build 635), so maybe something had changed Perl wise. So 
went ahead and removed, re-booted and it worked fine without the TZ.  So that is the 
way I will keep it.

        Again thanks for the time, $Bill.

Wags ;)
Int: 9-8-002-2224
Ext: 408-323-4225x2224



**********************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
****************************************************************


_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to