Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

(MeowChow) Re3: Determining Daylight Savings Time

by MeowChow (Vicar)
on May 30, 2002 at 21:39 UTC ( #170526=note: print w/ replies, xml ) Need Help??


in reply to Re: (MeowChow) Re2: Determining Daylight Savings Time
in thread Determining Daylight Savings Time

It works on both my OpenBSD and Linux perl 5.6.1 and 5.00503. What platform are you testing on?
  
{ local $\ = "\n"; print scalar localtime; { local $ENV{TZ} = 'GMT'; print scalar localtime; } print scalar localtime, ", which is right."; } Thu May 30 16:36:26 2002 Thu May 30 21:36:26 2002 Thu May 30 16:36:26 2002, which is right.

   MeowChow                                   
               s aamecha.s a..a\u$&owag.print


Comment on (MeowChow) Re3: Determining Daylight Savings Time
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://170526]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-07-04 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls