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()'.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
1.35-bp156.1.1 info | GA Release | 2023-09-01 | 15 SP6 |
|
|
1.30-bp155.2.10 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
1.30-bp154.1.19 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.30-bp153.1.14 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
1.30-bp152.1.9 info | GA Release | 2020-04-16 | 15 SP2 |
|
|