Problem:
If the stored date ($stored_date) (yyyy-mm-dd) is greater than some time (2 months) then do something...
Code I Have Tried:
if(strtotime($stored_date) + strtotime('+2 month') <= strtotime('now')) {
// Do something...
} else {
// Do something...
}
However, this is not working for me. Any help would be appreciated. Thanks.