[sf-perl] Getting the timezone

David Alban extasia at extasia.org
Mon Nov 20 07:37:25 PST 2006


Excellent.  Thanks.

On 11/17/06, Tatsuhiko Miyagawa <miyagawa at gmail.com> wrote:
> This could've been just as simplified as:
>
>   my $time = time;
>   my $difference = timelocal(localtime($time)) - timelocal(gmtime($time));

-- 
Live in a world of your own, but always welcome visitors.


More information about the SanFrancisco-pm mailing list