Package Info

perl-Time-Local


Efficiently compute time from local and GMT time


Unspecified

This module provides functions that are the inverse of built-in perl functions 'localtime()' and 'gmtime()'. They accept a date as a six-element array, and return the corresponding 'time(2)' value in seconds since the system epoch (Midnight, January 1, 1970 GMT on Unix, for example). This value can be positive or negative, though POSIX only requires support for positive values, so dates before the system's epoch may not work on all operating systems.

It is worth drawing particular attention to the expected ranges for the values provided. The value for the day of the month is the actual day (i.e. 1..31), while the month is the number of months since January (0..11). This is consistent with the values returned from 'localtime()' and 'gmtime()'.


License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/Time-Local

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.35-bp156.1.1 info GA Release 2023-09-01 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Time-Local
1.30-bp155.2.10 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Time-Local
1.30-bp154.1.19 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Time-Local
1.30-bp153.1.14 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Time-Local
1.30-bp152.1.9 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Time-Local