Posted By

Tate on 10/06/10


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

cjmling
qubestream


Check is date is past a certain timeframe


 / Published in: PHP
 

URL: http://www.sitepoint.com/forums/showthread.php?t=584839

  1. if ($time < time() - strtotime('-3 months')) {
  2. // older than three months
  3. }

Report this snippet  

You need to login to post a comment.