Using PHP to Match a Javascript Timestamp
<p>Alright when I do the code:</p>

<pre><code>&lt;script type = "text/javascript" &gt;
document.write((new Date).getTime());
&lt;/script&gt;
</code></pre>

<p>You get the Unix timestamp in miliseconds. I need something that will match this in PHP. I need a variable to be set to that, NOT necessarily printed. The variable needs to be a string OR number without any formatting (decimals, commas, etc).</p>

<p>The numbers don't have to match exactly, but have to be close. I tried doing time()*1000 but it turns it into scientific notation and I couldn't format it out without messing up the string.</p>

<p>Thanks so much for any help</p>
