This function check if a post is older than a certain date and is under certain categories.