Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: Subtracting and Comparing Two Dates

by ikegami (Patriarch)
on Jan 08, 2007 at 20:05 UTC ( [id://593652]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://593652]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.