perldoc > Time::Zone

🏷️ NAME

Time::Zone -- miscellaneous timezone manipulations routines

🚀 Quick Reference

Use CaseCommandDescription
Get current timezone stringtz2zone()Parse TZ env var and return timezone string
Get local GMT offsettz_local_offset()Compute offset from GMT in seconds
Get offset for a timezonetz_offset($TZ)Determine offset from GMT for given TZ
Get timezone name from offsettz_name()Determine timezone name based on offset

📋 SYNOPSIS

            use Time::Zone;
            print tz2zone();
            print tz2zone($ENV{'TZ'});
            print tz2zone($ENV{'TZ'}, time());
            print tz2zone($ENV{'TZ'}, undef, $isdst);
            $offset = tz_local_offset();
            $offset = tz_offset($TZ);

📝 DESCRIPTION

This is a collection of miscellaneous timezone manipulation routines.

👤 AUTHORS

Time::Zone
🏷️ NAME 🚀 Quick Reference 📋 SYNOPSIS 📝 DESCRIPTION 👤 AUTHORS

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-12 21:49 @216.73.217.60
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!