How to convert a string to a 24hr time?
<p>So I have a JSON returning times like "10:00am"> i need to create an array with eight other times from the current system time. so it would go like "10:00am, 11:00am, 12:00pm, 1:00am, etc"</p>

<p>Here's my current code so far:</p>

<pre><code>   var katie=new Array();
   var webdate = new Date().getHours();
   var firsthr = day.date.start.time;
   for (i=0; i&lt;=8; i++){
      katie{i] = webdate;
      webdate = webdate +1;       
   }
</code></pre>
