<?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: Calculate job time in workforce in ArcGIS Workforce Questions</title>
    <link>https://community.esri.com/t5/arcgis-workforce-questions/calculate-job-time-in-workforce/m-p/764480#M111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The doc doesn't have an outlined example of how to calculate the total time spent on an assignment, but the section titled&amp;nbsp;&lt;STRONG&gt;Assignment status date and time fields&lt;/STRONG&gt; does document the various date/time fields for each status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'd want to subtract the&amp;nbsp;assignedDate from&amp;nbsp;the completedDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rest of the section explains how the date/time fields work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2020 11:56:53 GMT</pubDate>
    <dc:creator>CraigGillgrass</dc:creator>
    <dc:date>2020-06-02T11:56:53Z</dc:date>
    <item>
      <title>Calculate job time in workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/calculate-job-time-in-workforce/m-p/764476#M107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to calculate the time between a job being assigned and completed in workforce? I cannot seem to find any examples or resources any pointers would be useful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2020 17:08:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/calculate-job-time-in-workforce/m-p/764476#M107</guid>
      <dc:creator>ThomasKelly</dc:creator>
      <dc:date>2020-06-01T17:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate job time in workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/calculate-job-time-in-workforce/m-p/764477#M108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doc topic has some information on how to do this:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://doc.arcgis.com/en/workforce/android-phone/help/workforce-schema.htm#ESRI_SECTION1_EDB5E3592870494BAE5F829765C604FF" title="https://doc.arcgis.com/en/workforce/android-phone/help/workforce-schema.htm#ESRI_SECTION1_EDB5E3592870494BAE5F829765C604FF"&gt;Automate and script Workforce—Workforce for ArcGIS | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2020 17:17:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/calculate-job-time-in-workforce/m-p/764477#M108</guid>
      <dc:creator>CraigGillgrass</dc:creator>
      <dc:date>2020-06-01T17:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate job time in workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/calculate-job-time-in-workforce/m-p/764478#M109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Craig, I will make my way there. Much appreciated!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2020 17:26:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/calculate-job-time-in-workforce/m-p/764478#M109</guid>
      <dc:creator>ThomasKelly</dc:creator>
      <dc:date>2020-06-01T17:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate job time in workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/calculate-job-time-in-workforce/m-p/764479#M110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px;"&gt;Hi Craig,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #000000; font-size: 13px;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 13px;"&gt;I have gone through this but there is no mention of calculating the total time spent on an assignment. I have tried adding a field to my assignments layer and calculated from there but this does not return the correct figure.&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 13px;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 13px;"&gt;Have you any other links that may help?&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 13px;"&gt;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 13px;"&gt;Many thanks&amp;nbsp;&lt;/DIV&gt;&lt;DIV style="color: #000000; font-size: 13px;"&gt;Thomas&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 11:42:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/calculate-job-time-in-workforce/m-p/764479#M110</guid>
      <dc:creator>ThomasKelly</dc:creator>
      <dc:date>2020-06-02T11:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate job time in workforce</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/calculate-job-time-in-workforce/m-p/764480#M111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The doc doesn't have an outlined example of how to calculate the total time spent on an assignment, but the section titled&amp;nbsp;&lt;STRONG&gt;Assignment status date and time fields&lt;/STRONG&gt; does document the various date/time fields for each status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'd want to subtract the&amp;nbsp;assignedDate from&amp;nbsp;the completedDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rest of the section explains how the date/time fields work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 11:56:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/calculate-job-time-in-workforce/m-p/764480#M111</guid>
      <dc:creator>CraigGillgrass</dc:creator>
      <dc:date>2020-06-02T11:56:53Z</dc:date>
    </item>
  </channel>
</rss>

