<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How ist the duration calculated in History tables? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-ist-the-duration-calculated-in-history-tables/m-p/31126#M16076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Feb 2011 13:25:13 GMT</pubDate>
    <dc:creator>nikki</dc:creator>
    <dc:date>2011-02-15T13:25:13Z</dc:date>
    <item>
      <title>How ist the duration calculated in History tables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-ist-the-duration-calculated-in-history-tables/m-p/31124#M16074</link>
      <description>Hello together,I try to analyse the history data of process instances. How is the duration calculated in history tables? If I calculate a duration by deducting End_Time and Start_Time I come to other results, than in history service. So do I have a format problem?Thanks for your help!greets Nikki</description>
      <pubDate>Tue, 15 Feb 2011 12:39:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-ist-the-duration-calculated-in-history-tables/m-p/31124#M16074</guid>
      <dc:creator>nikki</dc:creator>
      <dc:date>2011-02-15T12:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: How ist the duration calculated in History tables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-ist-the-duration-calculated-in-history-tables/m-p/31125#M16075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Duration (in millis) is calculated based in start and end-time (HistoricScopeInstanceEntity):&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; public void markEnded(String deleteReason) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.deleteReason = deleteReason;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.endTime = ClockUtil.getCurrentTime();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.durationInMillis = endTime.getTime() - startTime.getTime();&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using MySQL? The timestamp type is only accurate to the second, milliseconds can differ from the actual value used for calculation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 12:44:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-ist-the-duration-calculated-in-history-tables/m-p/31125#M16075</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-02-15T12:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: How ist the duration calculated in History tables?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-ist-the-duration-calculated-in-history-tables/m-p/31126#M16076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 13:25:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-ist-the-duration-calculated-in-history-tables/m-p/31126#M16076</guid>
      <dc:creator>nikki</dc:creator>
      <dc:date>2011-02-15T13:25:13Z</dc:date>
    </item>
  </channel>
</rss>

