I don't know wordpress but I would assume they use date type fields for dates. In that case you have to format your input date accordingly:
SELECT * FROM 'wp_posts' WHERE 'post_date' < '2010-10-31';
diafol commented: fair comment +8
thunderbird22 commented: great and works perfect +0