How to check if my product's expiring date is 3 days or less after today?
<p>I have a product expiring list. In this list I will show only the products that are 3 days before expiration. That means that today 18-10-2011 the products that the list will show are products who have an expiring date until 22-10-2011.</p>

<p>I get the product's expiring date using</p>

<pre><code>$input = date('d-m-y', strtotime(get_post_meta($post-&gt;ID, 'liksi', true))); 
</code></pre>

<p>My thought is having something like</p>

<pre><code>if product_expiring_date (this is $input) is 3 days or less after current date 
then { }
</code></pre>

<p>How can I check this with "real code" ?</p>
