<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - FORMATTING - Wrong date substraction in cell's operation"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132083">bug 132083</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTABUG
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - FORMATTING - Wrong date substraction in cell's operation"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132083#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - FORMATTING - Wrong date substraction in cell's operation"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132083">bug 132083</a>
              from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
        <pre>Do not reproduce with Version: 6.4.3.1 (x64)
Build ID: 4d2b2b47cca498fed6abf712a36d0788901091eb
CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: en-US (ru_RU); UI-Language: en-US
Calc: threaded

Cell A1 (date+time): 2020-04-13 12:18:00
Cell A2 (date+time): 2020-04-13 12:08:00
Cell A3 (formatted [HH]:MM:SS, i.e. as time span, not wall clock): =A1-A2

The result in A3 is 00:10:00.

If I format it as wall clock, using HH:MM:SS, then I see 00:09:59, because of
floating-point error ( <a href="https://wiki.documentfoundation.org/Faq/Calc/Accuracy">https://wiki.documentfoundation.org/Faq/Calc/Accuracy</a> ).

Closing NOTABUG.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>