in reply to Re^4: Subtracting and Comparing Two Dates
in thread Subtracting and Comparing Two Dates
Not at all. Look at the arguments...
| Function | POSIX equivalent | Purpose of Function |
|---|---|---|
| CORE::gmtime | POSIX::gmtime | Returns GMT time components from epoch time. |
| Time::Local::timegm | [none] | Returns the epoch time from GMT time components. |
| CORE::localtime | POSIX::localtime | Returns local time components from epoch time. |
| Time::Local::timelocal | POSIX::mktime | Returns the epoch time from local time components. |
POSIX is missing the very function that's needed here.
|
|---|