How to timestamp with jQuery based off user's selection
<p>I'm attempting to produced a timestamp based off user's selection.</p>

<p>I have a form with an input value that will be empty:</p>

<pre><code>&lt;input type="hidden" name="sub_enddate" value=" " /&gt;
</code></pre>

<p>I need to have the empty value filled in with a time stamp based a certain value of time in the future off a user's selection:</p>

<pre><code>&lt;select name="Membership Duration"&gt;
&lt;option value=""&gt;Select A Membership Duration&lt;/option&gt;
&lt;option class="6" value="6 Months"&gt;6 Month Membership&lt;/option&gt;
&lt;option class="3" value="3 Months"&gt;3 Month Membership&lt;/option&gt;
&lt;option class="1" value="1 Months"&gt;1 Month Membership&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>The format will be the following: 20110325 (2011-03-25).  So if the user chooses from the drop down menu:</p>

<ul>
<li>"6 Month Membership" the value in the hidden input field will be: 20110925 (6 months in the future from today, March 25th, 2011).</li>
<li>"3 Month Membership" the value in the hidden input field will be: 20110625 (3 months in the future from today, March 25th, 2011).</li>
<li>"1 Month Membership" the value in the hidden input field will be: 20110425 (1 month in the future from today, March 25th, 2011).</li>
</ul>
