$rs['expire_long']=5;echo date("Y-m-d H:i:s",strtotime('-'.$rs['expire_long'].' days',strtotime('2011-01-01 10:28:18')));