in reply to Re: Re: Time Zones and Users
in thread Time Zones and Users
From Time::Zone (which is the same as Time::Timezone iirc):
So, in other words, you can pass it a value and it does not rely on there being a TZ environment variable.
Where $TZ is taken as the first argument (to the functions needing a base timezone). =)$TZ = defined($ENV{'TZ'}) ? ( $ENV{'TZ'} ? $ENV{'TZ'} : 'GMT' ) : '' unless $TZ;
So, in other words, you can pass it a value and it does not rely on there being a TZ environment variable.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Time Zones and Users
by Torgo (Beadle) on Jan 10, 2002 at 23:02 UTC |
In Section
Seekers of Perl Wisdom