How to check if date() function minus one?
<p>Is it possible to check if the date <code>("j-1 F-1")</code>???</p>

<p>I'm a noob so some script would help! Postdate is in a format like: <code>14 October</code>.</p>

<pre><code>if ($postdate == date("j F")) {$postdate = "today";} THIS WORKS...
</code></pre>

<p>But I need to check the <code>$postdate</code> for the <code>"yesterday</code>" value as well!</p>

<p>Q: How to check for yesterday? that is, date()-1 somehow.</p>

<p>Thanks again</p>
