PHP date() not returning expected value
<p>This is strange.  Either I am losing my mind or this is really simple and I am just overlooking something obvious.</p>

<p>I have a script that is run automatically daily (around 9:00am central time) by a cron job that I tried to set up to "take a vacation" on January 1.  It seemed like the easy solution was to add the following line at the top of my script:</p>

<pre><code>if( date("n/j")=='1/1' ){ exit(); }
</code></pre>

<p>Yet somehow it did not exit, but rather ran anyway.  Not really a big deal...but I hope to fix it for next year.  I tried today in a sample script using the following and it identified the date correctly and exited without running the rest of the code...</p>

<pre><code>if( date("n/j")=='1/3' ){ exit('January 3'); }
</code></pre>

<p>...so I am perplexed.  Is January 1 not represented as 1/1?</p>
