1Time::y2038::EverywhereU(s3e)r Contributed Perl DocumentaTtiimoen::y2038::Everywhere(3)
2
3
4
6 Time::y2038::Everywhere - Use Time::y2038's gmtime and localtime
7 everywhere.
8
10 use Time::y2038::Everywhere;
11
12 # All uses of localtime() and gmtime() in the whole program
13 # are now using Time::y2038's
14
16 Time::y2038::Everywhere replaces localtime() and gmtime() with its own
17 functions everywhere. This ensures not just that your code is 2038
18 safe, but that any modules you use are, too.
19
21 May also override Time::Local::timelocal and Time::Local::timegm in the
22 future.
23
25 Time::y2038
26
27
28
29perl v5.36.0 2023-01-20 Time::y2038::Everywhere(3)