$expires = date('m/d/Y G:i:s', strtotime("+" . $ad_length . " days"));
$expires = date('m/d/Y', mktime(0,0,0,date('m',$e_date),date('d',$e_date)+$ad_length,date('Y',$e_date)));
$expires = date('m/d/Y', mktime(date('m',$event_date),date('d',$event_date)+$ad_length,date('Y',$event_date)));
$sql = "SELECTIDFROM $wpdb->posts WHEREpost_date<'".date('Y-m-d h:i:s', strtotime("-$prun_period days"))."' ANDpost_status='publish' ANDpost_type='post' LIMIT 10";
There are currently 1 users browsing this thread. (0 members and 1 guests)