DateTim...one::UTC(3)

🌸 NAME 🌸

Okay bestie, this is the DateTim...one::UTC(3) page from the User Contributed Perl Documentation β€” and it's literally all about DateTime::TimeZone::UTC, aka The UTC time zone. Periodt. πŸ’…


πŸŽ€ VERSION πŸŽ€

version 2.64 β€” that's the version, no cap. πŸ’–


✨ SYNOPSIS ✨

  my $utc_tz = DateTime::TimeZone::UTC->new;

πŸ’… DESCRIPTION πŸ’…

So this class is used to provide the DateTime::TimeZone API that DateTime.pm needs for the UTC time zone, which is not explicitly included in the Olson time zone database. Iykyk. πŸ™ˆ

The offset for this object will always be zero. Zero! That's the whole vibe. ✨


πŸ¦‹ USAGE πŸ¦‹

This class has the same methods as a real time zone object, but there are two lil quirks: category() returns undef, and is_utc() returns true. That's the vibe check, and it passed. 🫢


🫢 SUPPORT 🫢

Bugs may be submitted at <https://github.com/houseabsolute/DateTime-TimeZone/issues>. Not me filing a bug report at 2am… 😭


🌈 SOURCE 🌈

The source code repository for DateTime-TimeZone can be found at <https://github.com/houseabsolute/DateTime-TimeZone>. Go off, repo. πŸ‘‘


πŸ‘‘ AUTHOR πŸ‘‘

Dave Rolsky <autarch@urth.org> β€” iconic. πŸ’œ


This software is copyright (c) 2025 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.

The full text of the license can be found in the LICENSE file included with this distribution.


Okay bye bestie! This page is from perl v5.42.0, dated 2025-01-22, and it's the DateTim...one::UTC(3) manual page. Mwah! πŸ’‹

πŸ“¦ where this page comes from