title: Jquery countdown timer adjustment
body: <p>i am using a keith-wood jquery countdown timer plugin on my website (<a href="http://keith-wood.name/countdown.html" rel="nofollow">http://keith-wood.name/countdown.html</a>), but i am initialisating it with data from my database.
  As in the specifications, in this plugin the first month is 0 (zero), so when i declare the data, i must decrease it with one (1).
  I don't know how to do it in my code:</p>
  
  <p>my code:</p>
  
  <pre><code>&lt;script&gt;
      $(function () {
          var austDay = new Date();
          austDay = new Date( &lt;? php echo date('Y', strtotime($sale - &gt; end)) ?&gt; , &lt;? php echo date('m', strtotime($sale - &gt; end)) ?&gt; , &lt;? php echo date('d-1', strtotime($sale - &gt; end)) ?&gt; , &lt;? php echo date('h', strtotime($sale - &gt; end)) ?&gt; , &lt;? php echo date('i', strtotime($sale - &gt; end)) ?&gt; , &lt;? php echo date('s', strtotime($sale - &gt; end)) ?&gt; );
          $('#defaultCountdown').countdown({
              until: austDay,
              format: 'dHMS'
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>$sale->end is a datetime variable, and there at end))?> i need to decrease with one the month number.
  any idea about how can i do it?</p>
  
  <p>thank you!</p>