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.
In reply to Re^5: Subtracting and Comparing Two Dates
by ikegami
in thread Subtracting and Comparing Two Dates
by mindful07
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |