DateTime::TimeZone::Local - Code to determine the system's local time zone
my $tz = DateTime::TimeZone->new( name => 'local' );
This package is used to try to figure out what the local time zone is, in a variety of ways. See the DateTime::TimeZone docs for more details.
To install DateTime::TimeZone, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DateTime::TimeZone
CPAN shell
perl -MCPAN -e shell install DateTime::TimeZone
For more information on module installation, please visit the detailed CPAN module installation guide.