I think it's much easier/faster to use filectime():

  if ((filectime($dir) + 300) < time()) {
      rmdir($dir);
  }

with regards,
Jan

--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Comparing-the-difference-between-two-timestamps-using-Zend-Date-tp3331529p3331621.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to