Passing PHP variables to jQuery integer
<p>basically I know more or less how to do it but would like to know if there is any better way?</p>

<p>I have the following variables in PHP</p>

<pre><code>$day; $month; $year;
</code></pre>

<p>The ones above have values from exploding a php date string.</p>

<p>Below is PHP plugin function which states the date for countdown.</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(function () {
    var austDay = new Date();   
    austDay = new Date(2013, 12, 22);
    $('#defaultCountdown').countdown({until: austDay});
});
&lt;/script&gt;
</code></pre>

<p>I would like to pass the date day/month/year variables into that function from PHP
how can I do it, when I tried to attach  to the javavariable and put that variable in place of the date part, it didnt work.</p>

<p>Thanks for all help</p>
