Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Comparing timestamps that are in 2 different but defined styles

by thunders (Priest)
on Jul 28, 2010 at 19:52 UTC ( [id://851779]=note: print w/replies, xml ) Need Help??


in reply to Re: Comparing timestamps that are in 2 different but defined styles
in thread Comparing timestamps that are in 2 different but defined styles

Doh, good point guys. I wasn't thinking.

Here's another option: turn the values returned by POSIX::strptime into a UNIX epoch with Time::Local, then subtracting that from the value given by time() and seeing if abs($diff) < 60.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://851779]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-03-19 05:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found