DOKK / manpages / debian 12 / libtime-y2038-perl / Time::y2038::Everywhere.3pm.en
Time::y2038::Everywhere(3pm) User Contributed Perl Documentation Time::y2038::Everywhere(3pm)

Time::y2038::Everywhere - Use Time::y2038's gmtime and localtime everywhere.

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

Time::y2038::Everywhere replaces localtime() and gmtime() with its own functions everywhere. This ensures not just that your code is 2038 safe, but that any modules you use are, too.

May also override Time::Local::timelocal and Time::Local::timegm in the future.

Time::y2038

2022-10-19 perl v5.36.0