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. -- ,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED] (_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED] / ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/ -/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff) _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs