Time::...rywhere(3pm)

πŸ’– Time::y2038::Everywhere β€” the 3pm manual, but make it cute

okay bestie, so this is a Perl module from the User Contributed Perl Documentation corner of the universe, and its whole entire personality is: Time::y2038::Everywhere β€” literally using Time::y2038's gmtime and localtime everywhere. like, everywhere everywhere. no cap. πŸ¦‹


✨ NAME ✨

Time::y2038::Everywhere β€” Use Time::y2038's gmtime and localtime everywhere.

that's it, that's the name, and honestly? it's giving exactly what it says on the tin. πŸ’…


🌸 SYNOPSIS 🌸

look at this. look at how short it is. iconic behaviour.

use Time::y2038::Everywhere;

# All uses of localtime() and gmtime() in the whole program
# are now using Time::y2038's

two lines of code and your whole program is different. that's the power. that's the main character energy. ✨


πŸ’œ DESCRIPTION πŸ’œ

so here's the tea, bestie: Time::y2038::Everywhere replaces localtime() and gmtime() with its own functions everywhere. not just in your file. not just in your package. everywhere. 😭

and the way that this matters? it means your code is 2038 safe β€” but here's the slay part β€” not just that your code is 2038 safe. any modules you use are safe too. 🫢

like, your dependencies don't even know they've been upgraded. they're just out here being 2038 safe and they have no idea. we love a silent glow-up. πŸ‘‘


πŸŽ€ NOTES πŸŽ€

lowkey a little sneak peek at the future here:

in the future, this thing may also override Time::Local::timelocal and Time::Local::timegm. so like, watch this space, iykyk. πŸ•°οΈ

not a promise, bestie β€” that's literally what it says: may. so don't come for me when it's still a maybe. πŸ’€

🌈 SEE ALSO 🌈

  • Time::y2038 β€” the parent module, the blueprint, the moment. go read it. they're a set. πŸ“

that's the whole page fr fr. no filler, no fluff, just a tiny module doing massive 2038-safe work and being dramatic about the word "everywhere". 🧚

anyway β€” this was documented under the User Contributed Perl Documentation section, perl v5.42.3, dated 2026-08-19. bye bestie, stay 2038 safe πŸ’–βœ¨

πŸ“¦ where this page comes from