in reply to Time Zones and Users
Try this:
Assuming you aren't in PST. and then you might just local the TZ within a block when you do the calculations etc.perl -e 'print scalar localtime; $ENV{TZ}="PST"; print scalar localtim +e;'
PD> Corollary, let the OS and perl internal magic do as much work for you as it can.
--
perl -pe "s/\b;([st])/'\1/mg"
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Time Zones and Users
by Torgo (Beadle) on Jan 11, 2002 at 22:27 UTC | |
by belg4mit (Prior) on Jan 12, 2002 at 10:51 UTC |
In Section
Seekers of Perl Wisdom