title: How to format a TimeSpan for hours not days
body: <p>The following code </p>
  
  <pre><code>Console.WriteLine("{0:%h} hours {0:%m} minutes", 
                     new TimeSpan(TimeSpan.TicksPerDay));
  </code></pre>
  
  <p>produces this output:</p>
  
  <blockquote>
    <p>0 hours 0 minutes</p>
  </blockquote>
  
  <p>What I would like is this output:</p>
  
  <blockquote>
    <p>24 hours 0 minutes</p>
  </blockquote>
  
  <p>What am I missing in this format string?</p>
  
  <p>P.S. I know that I could manually bust up the TimeSpan into days and hours, and multiply the two but would rather use a custom format string, as these timespans are being displayed in a silverlight datagrid and people are expecting to see horus, not days.</p>