 &gt;&gt; t2;

    <span class="comment">//starting at current time iterator adds by one hour</span>
    time_iterator titr(now,hours(<span class="number">1</span>)); 
    <span class="keyword">for</span> (; titr &lt; tomorrow_start; ++titr) {
     std::cout &lt;&lt; (*titr) &lt;&lt; std::endl;
    }
    </pre>
<p>    
  </p>
<p>
      The following provides some example code using times.
      See <a class="link" href="../local_time.html" title="Local Time">Local Time Programming</a> 
      for more detail