![]() |
|
The stupid question is the question not asked | |
PerlMonks |
Re^2: Comparing timestamps that are in 2 different but defined stylesby thunders (Priest) |
on Jul 28, 2010 at 19:52 UTC ( [id://851779]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|