Manual Pages for UNIX Darwin command on man Time::Zone
MyWebUniversity

Manual Pages for UNIX Darwin command on man Time::Zone

Time::Zone(3) User Contributed Perl Documentation Time::Zone(3)

NAME

Time::Zone - miscellaneous timezone manipulations routines

SYNOPSIS

use Time::Zone;

print tz2zone();

print tz2zone($ENV{'TZ'});

print tz2zone($ENV{'TZ'}, time());

print tz2zone($ENV{'TZ'}, undef, $isdst);

$offset = tzlocaloffset();

$offset = tzoffset($TZ);

DESCRIPTION

This is a collection of miscellaneous timezone manipulation routines. "tz2zone()" parses the TZ environment variable and returns a timezone

string suitable for inclusion in date-like output. It opionally takes

a timezone string, a time, and a is-dst flag.

"tzlocaloffset()" determins the offset from GMT time in seconds. It only does the calculation once. "tzoffset()" determines the offset from GMT in seconds of a specified timezone. "tzname()" determines the name of the timezone based on its offset AUTHORS Graham Barr David Muir Sharnoff Paul Foley

perl v5.8.8 2002-09-16 Time::Zone(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™