Javascript Generate Array of Hours in the Day Starting with Current Hour : <p>Hi I'm trying to generate an array of every hour of the day. However, I want it to start with the current hour. </p>

<p>For example, </p>

<p><strong>if the current time is 2:00 pm, the array should start:</strong></p>

<p>['1400', '1500', '1600', 1700', '1800', '1900', '2000', '2100', '2200', '2300']</p>

<p><strong>instead of</strong> </p>

<p>['0000', '0100', '0300', '0400', '0500', '0600', '0700', '0800', '0900', '1000', '1100', '1200', '1300', '1400', '1500', '1600', 1700', '1800', '1900', '2000', '2100', '2200', '2300']</p>
