Adding minutes to a list of times
<p>I'm having problems working through how I would build times that increment by a given multiple. I would like to have a function that would take 3 params, (start, end, offset) and that would give me an output:</p>

<p>The following function would take a start time of 0900, a stop time of 1200 and increment by multiples of 30 minutes.</p>

<p>Would someone please get me started in the right direction? I thought to use to mktime for this but I couldn't get it to work.</p>

<pre><code>myfunction(9, 12, 30)
</code></pre>

<p><strong>output:</strong></p>

<pre><code>9:00 am
9:30 am
10:00 am
10:30 am
11:00 am
11:30 am
12:00 am
</code></pre>
