title: How to subtract Time in Excel VBA?
body: <p>How do I subtract Time in Excel VBA? 
  I tried to subtract these two values, but I'm getting this value "2.1527777777778E-02" instead. What does this mean?</p>
  
  <p>Timein = 12/7/16 12:00:00 AM</p>
  
  <p>Timeout = 12/7/16 12:30:00 AM</p>
  
  <p>Here's a sample of my code. Thanks in advance.</p>
  
  <pre><code>Dim Total as Double
  Dim Timein as Date
  Dim Timeout as Date
  
  Total = TimeValue(Timeout) - TimeValue(Timein)
  'Result Total=2.1527777777778E-02
  </code></pre>