OS Manuals

DateTime::TimeZone::UTC(3pm)

DateTime::TimeZone::UTC(3) User Contributed Perl Documentation DateTime::TimeZone::UTC(3)

  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.

2026-10-26 perl v5.44.0

perl-datetime-timezone 2.71-r2 · os · ingested 2026-10-27