DateTime::TimeZone::UTC - The UTC time zone
version 1.93
my $utc_tz = DateTime::TimeZone::UTC->new;
This class is used to provide the DateTime::TimeZone API needed by DateTime.pm for the UTC time zone, which is not explicitly included in the Olson time zone database.
The offset for this object will always be zero.
This class has the same methods as a real time zone object, but the category() method returns undef and is_utc() returns true.
category()
is_utc()
Dave Rolsky <autarch@urth.org>
This software is copyright (c) 2015 by Dave Rolsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
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.