$date1= date('Y-m-d H:i:s',strtotime($begin_at)); print date('Y-m-d H:i:s',strtotime(date('Y-m-d H:i:s')."+30 days"));