php check if date is older than 1 month

56

php check if date is older than 1 month -

 if(strtotime('2011-08-19 17:14:40') < strtotime('-30 days')) {
     // this is true
 }

Comments

Submit
0 Comments