title: Format Hours/Minutes in SSRS Expression
body: <p>I was trying to combine two separate date/time fields into one text box through an expression in SSRS.</p>
  
  <p>My expression is:</p>
  
  <pre><code>=Format(Fields!EarlyShiftStart.Value,"hh:mm tt") &amp; "-" &amp; Format(Fields!LateShiftEnd.Value,"hh:mm tt")
  </code></pre>
  
  <p>And it looks to be correct in the report:</p>
  
  <p><img src="https://i.stack.imgur.com/vQkEA.jpg" alt="Drive_Times"></p>
  
  <p>But I am getting a warning when I preview the report:</p>
  
  <blockquote>
    <p>Warning   1   [rsRuntimeErrorInExpression] The Value expression for the
    textrun ‘Textbox49.Paragraphs[0].TextRuns[0]’ contains an error: Input
    string was not in a correct format</p>
  </blockquote>
  
  <p>Not sure why this warning occurs, as it looks to be correct.  Thoughts?</p>