inject UTC time into the page
<p>I'm using several literals to inject the user's time onto the the page. The values in the HTML are the UTC times.</p>

<pre><code>var TheDay = parseInt($('#UserDayToday').html(), 10);
var TheMonth = parseInt($('#UserMonthToday').html(), 10);
var TheYear = parseInt($('#UserYearToday').html(), 10);
var TheHours = parseInt($('#UserTimeStampHours').html(), 10);
var TheMinutes = parseInt($('#UserTimeStampMinutes').html(), 10);
</code></pre>

<p>Now I want to build a time stamp with that time so I tried this:</p>

<pre><code>var TheDateToday = new Date();
TheDateToday.setUTCFullYear(TheYear, TheMonth, TheDay);
TheDateToday.setUTCHours(TheHours, TheMinutes, 0, 0);
alert(TheDateToday);
</code></pre>

<p>When the alert comes on, it gives me the time with his timezone shift added. How can I just have the the UTC time. I know I can get it from the browser but I want to get the UTC time built from the data sent from the server, not retrieved from the user's machine by the browser.</p>

<p>Thanks</p>
