in reply to Re^4: Subtracting and Comparing Two Dates
in thread Subtracting and Comparing Two Dates

Not at all. Look at the arguments...

FunctionPOSIX equivalentPurpose of Function
CORE::gmtimePOSIX::gmtimeReturns GMT time components from epoch time.
Time::Local::timegm[none]Returns the epoch time from GMT time components.
CORE::localtimePOSIX::localtimeReturns local time components from epoch time.
Time::Local::timelocalPOSIX::mktimeReturns the epoch time from local time components.

POSIX is missing the very function that's needed here.

  • Comment on Re^5: Subtracting and Comparing Two Dates